0s autopkgtest [21:38:08]: starting date and time: 2025-02-21 21:38:08+0000 0s autopkgtest [21:38:08]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [21:38:08]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.dgo9_olq/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:build-essential --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=build-essential/12.12 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-18.secgroup --name adt-plucky-arm64-glib2.0-20250221-212935-juju-7f2275-prod-proposed-migration-environment-15-5a2006a0-613d-46f0-936d-1b06a6554194 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 77s autopkgtest [21:39:25]: testbed dpkg architecture: arm64 77s autopkgtest [21:39:25]: testbed apt version: 2.9.30ubuntu1 77s autopkgtest [21:39:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 77s autopkgtest [21:39:25]: testbed release detected to be: None 78s autopkgtest [21:39:26]: updating testbed package index (apt update) 79s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 79s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 79s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 79s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 79s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [708 kB] 79s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 79s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [85.6 kB] 79s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 79s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [128 kB] 79s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [7960 B] 79s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [665 kB] 79s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.7 kB] 80s Fetched 1733 kB in 1s (1756 kB/s) 81s Reading package lists... 82s + lsb_release --codename --short 82s + RELEASE=plucky 82s + cat 82s + [ plucky != trusty ] 82s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 82s Reading package lists... 82s Building dependency tree... 82s Reading state information... 84s Calculating upgrade... 84s Calculating upgrade... 85s The following packages will be upgraded: 85s apparmor base-files cloud-init cloud-init-base gcc-14-base libapparmor1 85s libgnutls30t64 liblsof0 libnss3 lsof motd-news-config ucf 85s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 85s Need to get 4207 kB of archives. 85s After this operation, 22.5 kB of additional disk space will be used. 85s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 motd-news-config all 13.6ubuntu1 [5168 B] 85s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 base-files arm64 13.6ubuntu1 [75.6 kB] 85s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-base arm64 14.2.0-17ubuntu3 [53.6 kB] 85s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libapparmor1 arm64 4.1.0~beta5-0ubuntu5 [53.7 kB] 86s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libgnutls30t64 arm64 3.8.9-2ubuntu2 [962 kB] 86s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 ucf all 3.0050 [43.5 kB] 86s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 apparmor arm64 4.1.0~beta5-0ubuntu5 [660 kB] 86s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 lsof arm64 4.99.4+dfsg-2 [236 kB] 86s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsof0 arm64 4.99.4+dfsg-2 [54.0 kB] 86s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init-base all 25.1-0ubuntu1 [616 kB] 86s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libnss3 arm64 2:3.108-1ubuntu1 [1446 kB] 86s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init all 25.1-0ubuntu1 [2088 B] 87s Preconfiguring packages ... 87s Fetched 4207 kB in 1s (4496 kB/s) 87s (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 ... 116668 files and directories currently installed.) 87s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 87s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 87s Preparing to unpack .../base-files_13.6ubuntu1_arm64.deb ... 87s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 87s Setting up base-files (13.6ubuntu1) ... 87s Updating /root/.profile to current default. 88s motd-news.service is a disabled or a static unit not running, not starting it. 88s (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 ... 116668 files and directories currently installed.) 88s Preparing to unpack .../0-gcc-14-base_14.2.0-17ubuntu3_arm64.deb ... 88s Unpacking gcc-14-base:arm64 (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 88s Preparing to unpack .../1-libapparmor1_4.1.0~beta5-0ubuntu5_arm64.deb ... 88s Unpacking libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 88s Preparing to unpack .../2-libgnutls30t64_3.8.9-2ubuntu2_arm64.deb ... 88s Unpacking libgnutls30t64:arm64 (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ... 88s Preparing to unpack .../3-ucf_3.0050_all.deb ... 88s Unpacking ucf (3.0050) over (3.0049) ... 89s Preparing to unpack .../4-apparmor_4.1.0~beta5-0ubuntu5_arm64.deb ... 90s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 90s Preparing to unpack .../5-lsof_4.99.4+dfsg-2_arm64.deb ... 90s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 91s Preparing to unpack .../6-liblsof0_4.99.4+dfsg-2_arm64.deb ... 91s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 91s Preparing to unpack .../7-cloud-init-base_25.1-0ubuntu1_all.deb ... 91s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 91s for fn in glob1(directory, "%s.*" % fname): 91s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 91s Preparing to unpack .../8-libnss3_2%3a3.108-1ubuntu1_arm64.deb ... 91s Unpacking libnss3:arm64 (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ... 91s Preparing to unpack .../9-cloud-init_25.1-0ubuntu1_all.deb ... 91s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 91s Setting up libgnutls30t64:arm64 (3.8.9-2ubuntu2) ... 91s Setting up motd-news-config (13.6ubuntu1) ... 91s Setting up libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) ... 91s Setting up gcc-14-base:arm64 (14.2.0-17ubuntu3) ... 91s Setting up liblsof0 (4.99.4+dfsg-2) ... 91s Setting up libnss3:arm64 (2:3.108-1ubuntu1) ... 91s Setting up cloud-init-base (25.1-0ubuntu1) ... 94s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 94s Installing new version of config file /etc/apparmor.d/fusermount3 ... 95s Reloading AppArmor profiles 97s Setting up ucf (3.0050) ... 97s Setting up lsof (4.99.4+dfsg-2) ... 97s Setting up cloud-init (25.1-0ubuntu1) ... 97s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ... 98s Processing triggers for systemd (257.2-3ubuntu1) ... 98s Processing triggers for man-db (2.13.0-1) ... 99s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 99s Processing triggers for install-info (7.1.1-1) ... 100s Processing triggers for libc-bin (2.40-4ubuntu1) ... 100s Processing triggers for initramfs-tools (0.145ubuntu2) ... 100s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 100s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 126s System running in EFI mode, skipping. 126s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 126s + /usr/lib/apt/apt-helper analyze-pattern ?true 126s + + sed s/\./\\./g 126s uname -r 126s + running_kernel_pattern=^linux-.*6\.12\.0-15-generic.* 126s + apt list ?obsolete 126s + tail -n+2 126s + cut -d/ -f1 126s + grep -v ^linux-.*6\.12\.0-15-generic.* 127s + true 127s + obsolete_pkgs= 127s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purgeReading package lists... 127s Building dependency tree... --autoremove 128s 128s Reading state information... 128s Solving dependencies... 129s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 129s + grep -q trusty /etc/lsb-release 129s + [ ! -d /usr/share/doc/unattended-upgrades ] 129s + [ ! -d /usr/share/doc/lxd ] 129s + [ ! -d /usr/share/doc/lxd-client ] 129s + [ ! -d /usr/share/doc/snapd ] 129s + type iptables 129s + cat 129s + chmod 755 /etc/rc.local 129s + . /etc/rc.local 129s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 129s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 129s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 129s + uname -m 129s + [ aarch64 = ppc64le ] 129s + [ -d /run/systemd/system ] 129s + systemd-detect-virt --quiet --vm 129s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 129s + cat 129s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 129s + echo COMPRESS=lz4 129s autopkgtest [21:40:17]: upgrading testbed (apt dist-upgrade and autopurge) 130s Reading package lists... 130s Building dependency tree... 130s Reading state information... 131s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 131s Starting 2 pkgProblemResolver with broken count: 0 131s Done 132s Entering ResolveByKeep 133s 133s Calculating upgrade... 134s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 134s Reading package lists... 135s Building dependency tree... 135s Reading state information... 136s Starting pkgProblemResolver with broken count: 0 136s Starting 2 pkgProblemResolver with broken count: 0 136s Done 136s Solving dependencies... 137s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 138s autopkgtest [21:40:26]: rebooting testbed after setup commands that affected boot 160s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 167s autopkgtest [21:40:55]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 4 15:49:33 UTC 2025 170s autopkgtest [21:40:58]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 182s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.83.3-2 (dsc) [4812 B] 182s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.83.3-2 (tar) [670 kB] 182s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.83.3-2 (tar) [5603 kB] 182s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.83.3-2 (diff) [136 kB] 183s gpgv: Signature made Tue Feb 4 19:07:25 2025 UTC 183s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 183s gpgv: Can't check signature: No public key 183s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.83.3-2.dsc: no acceptable signature found 184s autopkgtest [21:41:12]: testing package glib2.0 version 2.83.3-2 190s autopkgtest [21:41:18]: build not needed 199s autopkgtest [21:41:27]: test build: preparing testbed 199s Reading package lists... 200s Building dependency tree... 200s Reading state information... 200s Starting pkgProblemResolver with broken count: 0 200s Starting 2 pkgProblemResolver with broken count: 0 200s Done 202s The following NEW packages will be installed: 202s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 202s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 202s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev 202s libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 202s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 202s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 202s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 202s pkgconf-bin uuid-dev zlib1g-dev 202s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 202s Need to get 65.0 MB of archives. 202s After this operation, 229 MB of additional disk space will be used. 202s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 203s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 203s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-17ubuntu3 [10.6 MB] 203s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-17ubuntu3 [1028 B] 203s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [5558 B] 203s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.2.0-1ubuntu1 [22.4 kB] 203s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 15-20250213-1ubuntu1 [44.2 kB] 203s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 15-20250213-1ubuntu1 [146 kB] 203s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 15-20250213-1ubuntu1 [28.0 kB] 203s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 15-20250213-1ubuntu1 [2928 kB] 203s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 15-20250213-1ubuntu1 [1319 kB] 203s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 15-20250213-1ubuntu1 [2695 kB] 203s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 15-20250213-1ubuntu1 [1178 kB] 203s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 15-20250213-1ubuntu1 [1642 kB] 203s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-17ubuntu3 [2593 kB] 203s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-17ubuntu3 [20.9 MB] 204s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-17ubuntu3 [526 kB] 204s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [1200 B] 204s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.2.0-1ubuntu1 [4998 B] 204s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-17ubuntu3 [2499 kB] 204s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-17ubuntu3 [12.1 MB] 204s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-17ubuntu3 [21.8 kB] 204s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [956 B] 204s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.2.0-1ubuntu1 [1080 B] 204s Get:25 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 build-essential arm64 12.12 [4610 B] 204s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.7-1 [59.5 kB] 204s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-14ubuntu1 [55.2 kB] 204s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-14ubuntu1 [243 kB] 204s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 204s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 204s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 204s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 204s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 204s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1-dev arm64 3.7-3ubuntu2 [174 kB] 204s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-14ubuntu1 [34.6 kB] 204s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 48~beta-2 [55.0 kB] 204s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 204s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 204s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 204s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 204s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.83.3-2 [1915 kB] 205s Fetched 65.0 MB in 2s (28.6 MB/s) 205s Selecting previously unselected package libisl23:arm64. 205s (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 ... 116669 files and directories currently installed.) 205s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 205s Unpacking libisl23:arm64 (0.27-1) ... 205s Selecting previously unselected package libmpc3:arm64. 205s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 205s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 205s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 206s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-17ubuntu3_arm64.deb ... 206s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 206s Selecting previously unselected package cpp-14. 206s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_arm64.deb ... 206s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 206s Selecting previously unselected package cpp-aarch64-linux-gnu. 206s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 206s Unpacking cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 206s Selecting previously unselected package cpp. 206s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_arm64.deb ... 206s Unpacking cpp (4:14.2.0-1ubuntu1) ... 206s Selecting previously unselected package libcc1-0:arm64. 206s Preparing to unpack .../06-libcc1-0_15-20250213-1ubuntu1_arm64.deb ... 206s Unpacking libcc1-0:arm64 (15-20250213-1ubuntu1) ... 206s Selecting previously unselected package libgomp1:arm64. 206s Preparing to unpack .../07-libgomp1_15-20250213-1ubuntu1_arm64.deb ... 206s Unpacking libgomp1:arm64 (15-20250213-1ubuntu1) ... 206s Selecting previously unselected package libitm1:arm64. 206s Preparing to unpack .../08-libitm1_15-20250213-1ubuntu1_arm64.deb ... 206s Unpacking libitm1:arm64 (15-20250213-1ubuntu1) ... 206s Selecting previously unselected package libasan8:arm64. 206s Preparing to unpack .../09-libasan8_15-20250213-1ubuntu1_arm64.deb ... 206s Unpacking libasan8:arm64 (15-20250213-1ubuntu1) ... 206s Selecting previously unselected package liblsan0:arm64. 206s Preparing to unpack .../10-liblsan0_15-20250213-1ubuntu1_arm64.deb ... 206s Unpacking liblsan0:arm64 (15-20250213-1ubuntu1) ... 207s Selecting previously unselected package libtsan2:arm64. 207s Preparing to unpack .../11-libtsan2_15-20250213-1ubuntu1_arm64.deb ... 207s Unpacking libtsan2:arm64 (15-20250213-1ubuntu1) ... 207s Selecting previously unselected package libubsan1:arm64. 207s Preparing to unpack .../12-libubsan1_15-20250213-1ubuntu1_arm64.deb ... 207s Unpacking libubsan1:arm64 (15-20250213-1ubuntu1) ... 207s Selecting previously unselected package libhwasan0:arm64. 207s Preparing to unpack .../13-libhwasan0_15-20250213-1ubuntu1_arm64.deb ... 207s Unpacking libhwasan0:arm64 (15-20250213-1ubuntu1) ... 207s Selecting previously unselected package libgcc-14-dev:arm64. 207s Preparing to unpack .../14-libgcc-14-dev_14.2.0-17ubuntu3_arm64.deb ... 207s Unpacking libgcc-14-dev:arm64 (14.2.0-17ubuntu3) ... 207s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 207s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-17ubuntu3_arm64.deb ... 207s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 208s Selecting previously unselected package gcc-14. 208s Preparing to unpack .../16-gcc-14_14.2.0-17ubuntu3_arm64.deb ... 208s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 208s Selecting previously unselected package gcc-aarch64-linux-gnu. 208s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 208s Unpacking gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 208s Selecting previously unselected package gcc. 208s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_arm64.deb ... 208s Unpacking gcc (4:14.2.0-1ubuntu1) ... 208s Selecting previously unselected package libstdc++-14-dev:arm64. 208s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-17ubuntu3_arm64.deb ... 208s Unpacking libstdc++-14-dev:arm64 (14.2.0-17ubuntu3) ... 208s Selecting previously unselected package g++-14-aarch64-linux-gnu. 208s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-17ubuntu3_arm64.deb ... 208s Unpacking g++-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 209s Selecting previously unselected package g++-14. 209s Preparing to unpack .../21-g++-14_14.2.0-17ubuntu3_arm64.deb ... 209s Unpacking g++-14 (14.2.0-17ubuntu3) ... 209s Selecting previously unselected package g++-aarch64-linux-gnu. 209s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 209s Unpacking g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 209s Selecting previously unselected package g++. 209s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_arm64.deb ... 209s Unpacking g++ (4:14.2.0-1ubuntu1) ... 209s Selecting previously unselected package build-essential. 209s Preparing to unpack .../24-build-essential_12.12_arm64.deb ... 209s Unpacking build-essential (12.12) ... 209s Selecting previously unselected package libffi-dev:arm64. 209s Preparing to unpack .../25-libffi-dev_3.4.7-1_arm64.deb ... 209s Unpacking libffi-dev:arm64 (3.4.7-1) ... 209s Selecting previously unselected package uuid-dev:arm64. 209s Preparing to unpack .../26-uuid-dev_2.40.2-14ubuntu1_arm64.deb ... 209s Unpacking uuid-dev:arm64 (2.40.2-14ubuntu1) ... 209s Selecting previously unselected package libblkid-dev:arm64. 209s Preparing to unpack .../27-libblkid-dev_2.40.2-14ubuntu1_arm64.deb ... 209s Unpacking libblkid-dev:arm64 (2.40.2-14ubuntu1) ... 209s Selecting previously unselected package libsepol-dev:arm64. 209s Preparing to unpack .../28-libsepol-dev_3.7-1_arm64.deb ... 209s Unpacking libsepol-dev:arm64 (3.7-1) ... 209s Selecting previously unselected package libpcre2-16-0:arm64. 209s Preparing to unpack .../29-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 209s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 209s Selecting previously unselected package libpcre2-32-0:arm64. 209s Preparing to unpack .../30-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 209s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 209s Selecting previously unselected package libpcre2-posix3:arm64. 209s Preparing to unpack .../31-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 209s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 209s Selecting previously unselected package libpcre2-dev:arm64. 209s Preparing to unpack .../32-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 209s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 209s Selecting previously unselected package libselinux1-dev:arm64. 209s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu2_arm64.deb ... 209s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu2) ... 209s Selecting previously unselected package libmount-dev:arm64. 209s Preparing to unpack .../34-libmount-dev_2.40.2-14ubuntu1_arm64.deb ... 209s Unpacking libmount-dev:arm64 (2.40.2-14ubuntu1) ... 210s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 210s Preparing to unpack .../35-libsysprof-capture-4-dev_48~beta-2_arm64.deb ... 210s Unpacking libsysprof-capture-4-dev:arm64 (48~beta-2) ... 210s Selecting previously unselected package libpkgconf3:arm64. 210s Preparing to unpack .../36-libpkgconf3_1.8.1-4_arm64.deb ... 210s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 210s Selecting previously unselected package pkgconf-bin. 210s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_arm64.deb ... 210s Unpacking pkgconf-bin (1.8.1-4) ... 210s Selecting previously unselected package pkgconf:arm64. 210s Preparing to unpack .../38-pkgconf_1.8.1-4_arm64.deb ... 210s Unpacking pkgconf:arm64 (1.8.1-4) ... 210s Selecting previously unselected package zlib1g-dev:arm64. 210s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 210s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 210s Selecting previously unselected package libgio-2.0-dev:arm64. 210s Preparing to unpack .../40-libgio-2.0-dev_2.83.3-2_arm64.deb ... 210s Unpacking libgio-2.0-dev:arm64 (2.83.3-2) ... 210s Setting up libgomp1:arm64 (15-20250213-1ubuntu1) ... 210s Setting up libffi-dev:arm64 (3.4.7-1) ... 210s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 210s Setting up libsysprof-capture-4-dev:arm64 (48~beta-2) ... 210s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 210s Setting up libpkgconf3:arm64 (1.8.1-4) ... 210s Setting up uuid-dev:arm64 (2.40.2-14ubuntu1) ... 210s Setting up libmpc3:arm64 (1.3.1-1build2) ... 210s Setting up libsepol-dev:arm64 (3.7-1) ... 210s Setting up pkgconf-bin (1.8.1-4) ... 210s Setting up libubsan1:arm64 (15-20250213-1ubuntu1) ... 210s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 210s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 210s Setting up libhwasan0:arm64 (15-20250213-1ubuntu1) ... 210s Setting up libasan8:arm64 (15-20250213-1ubuntu1) ... 210s Setting up libtsan2:arm64 (15-20250213-1ubuntu1) ... 210s Setting up libisl23:arm64 (0.27-1) ... 210s Setting up libcc1-0:arm64 (15-20250213-1ubuntu1) ... 210s Setting up liblsan0:arm64 (15-20250213-1ubuntu1) ... 210s Setting up libitm1:arm64 (15-20250213-1ubuntu1) ... 210s Setting up libblkid-dev:arm64 (2.40.2-14ubuntu1) ... 210s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 210s Setting up libselinux1-dev:arm64 (3.7-3ubuntu2) ... 210s Setting up pkgconf:arm64 (1.8.1-4) ... 210s Setting up cpp-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 210s Setting up libgcc-14-dev:arm64 (14.2.0-17ubuntu3) ... 210s Setting up libstdc++-14-dev:arm64 (14.2.0-17ubuntu3) ... 210s Setting up libmount-dev:arm64 (2.40.2-14ubuntu1) ... 210s Setting up libgio-2.0-dev:arm64 (2.83.3-2) ... 210s Setting up cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 210s Setting up cpp-14 (14.2.0-17ubuntu3) ... 210s Setting up cpp (4:14.2.0-1ubuntu1) ... 210s Setting up gcc-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 210s Setting up gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 210s Setting up g++-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 210s Setting up gcc-14 (14.2.0-17ubuntu3) ... 210s Setting up g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 210s Setting up g++-14 (14.2.0-17ubuntu3) ... 210s Setting up gcc (4:14.2.0-1ubuntu1) ... 210s Setting up g++ (4:14.2.0-1ubuntu1) ... 210s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 210s Setting up build-essential (12.12) ... 210s Processing triggers for libc-bin (2.40-4ubuntu1) ... 210s Processing triggers for man-db (2.13.0-1) ... 211s Processing triggers for libglib2.0-0t64:arm64 (2.83.3-2) ... 211s No schema files found: doing nothing. 211s Processing triggers for install-info (7.1.1-1) ... 213s autopkgtest [21:41:41]: test build: [----------------------- 213s + mode=dynamic 213s + getopt -o --long static -n debian/tests/build -- 213s + getopt_temp= -- 213s + eval set -- -- 213s + set -- -- 213s + true 213s + shift 213s + break 213s + mktemp -d 213s + WORKDIR=/tmp/tmp.r4xIkjZh0n 213s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 213s + cd /tmp/tmp.r4xIkjZh0n 213s + [ -n ] 213s + CROSS_COMPILE= 213s + cat 213s + cat 213s + cat 213s + cat 213s + cat 213s + cat 213s + cflags= 213s + pcflags= 213s + packages=glib-2.0 213s + pkg-config --cflags --libs glib-2.0 213s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 213s + echo build (glib, dynamic): OK 213s + [ -x glib-dynamic ] 213s + foo=bar ./glib-dynamic 213s + echo run (glib, dynamic): OK 213s + cflags= 213s + pcflags= 213s + packages=gobject-2.0 213s + pkg-config --cflags --libs gobject-2.0 213s build (glib, dynamic): OK 213s run (glib, dynamic): OK 213s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 213s build (gobject, dynamic): OK 213s + echo build (gobject, dynamic): OK 213s + [ -x gobject-dynamic ] 213s + foo=bar ./gobject-dynamic 213s run (gobject, dynamic): OK 213s + echo run (gobject, dynamic): OK 213s + cflags= 213s + pcflags= 213s + packages=gio-2.0 213s + pkg-config --cflags --libs gio-2.0 213s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 214s build (gio, dynamic): OK 214s + echo build (gio, dynamic): OK 214s + [ -x gio-dynamic ] 214s + foo=bar ./gio-dynamic 214s run (gio, dynamic): OK 214s + echo run (gio, dynamic): OK 214s + cflags= 214s + pcflags= 214s + packages=gio-unix-2.0 214s + pkg-config --cflags --libs gio-unix-2.0 214s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 214s build (gio-unix, dynamic): OK 214s run (gio-unix, dynamic): OK 214s + echo build (gio-unix, dynamic): OK 214s + [ -x gio-unix-dynamic ] 214s + foo=bar ./gio-unix-dynamic 214s + echo run (gio-unix, dynamic): OK 214s + cflags= 214s + pcflags= 214s + packages=gmodule-2.0 214s + pkg-config --cflags --libs gmodule-2.0 214s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 214s build (gmodule, dynamic): OK 214s + echo build (gmodule, dynamic): OK 214s + [ -x gmodule-dynamic ] 214s + foo=bar ./gmodule-dynamic 214s run (gmodule, dynamic): OK 214s + echo run (gmodule, dynamic): OK 214s + cflags= 214s + pcflags= 214s + packages=gthread-2.0 214s + pkg-config --cflags --libs gthread-2.0 214s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 214s build (gthread, dynamic): OK 214s + echo build (gthread, dynamic): OK 214s + [ -x gthread-dynamic ] 214s + foo=bar ./gthread-dynamic 214s + echo run (gthread, dynamic): OK 214s + rm -rf /tmp/tmp.r4xIkjZh0n 214s run (gthread, dynamic): OK 215s autopkgtest [21:41:43]: test build: -----------------------] 215s build PASS (superficial) 215s autopkgtest [21:41:43]: test build: - - - - - - - - - - results - - - - - - - - - - 216s autopkgtest [21:41:44]: test build-static: preparing testbed 216s Reading package lists... 217s Building dependency tree... 217s Reading state information... 217s Starting pkgProblemResolver with broken count: 0 218s Starting 2 pkgProblemResolver with broken count: 0 218s Done 219s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 220s autopkgtest [21:41:48]: test build-static: [----------------------- 220s + mode=dynamic 220s + getopt -o --long static -n debian/tests/build -- --static 220s + getopt_temp= --static -- 220s + eval set -- --static -- 220s + set -- --static -- 220s + true 220s + mode=static 220s + shift 220s + continue 220s + true 220s + shift 220s + break 220s + mktemp -d 220s + WORKDIR=/tmp/tmp.FUEsq7a2U1 220s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 220s + cd /tmp/tmp.FUEsq7a2U1 220s + [ -n ] 220s + CROSS_COMPILE= 220s + cat 220s + cat 220s + cat 220s + cat 220s + cat 220s + cat 220s + cflags= 220s + pcflags= 220s + packages=glib-2.0 220s + cflags=-static 220s + pcflags=--static 220s + pkg-config --static --cflags --libs glib-2.0 220s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 220s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 220s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 220s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 220s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 220s + build (glib, static): OK 220s echo build (glib, static): OK 220s + [ -x glib-static ] 220s + foo=bar ./glib-static 220s run (glib, static): OK 220s + echo run (glib, static): OK 220s + cflags= 220s + pcflags= 220s + packages=gobject-2.0 220s + cflags=-static 220s + pcflags=--static 220s + pkg-config --static --cflags --libs gobject-2.0 220s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 221s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 221s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s build (gobject, static): OK 221s + echo build (gobject, static): OK 221s + [ -x gobject-static ] 221s + foo=bar ./gobject-static 221s run (gobject, static): OK 221s + echo run (gobject, static): OK 221s + cflags= 221s + pcflags= 221s + packages=gio-2.0 221s + cflags=-static 221s + pcflags=--static 221s + continue 221s + cflags= 221s + pcflags= 221s + packages=gio-unix-2.0 221s + cflags=-static 221s + pcflags=--static 221s + continue 221s + cflags= 221s + pcflags= 221s + packages=gmodule-2.0 221s + cflags=-static 221s + pcflags=--static 221s + pkg-config --static --cflags --libs gmodule-2.0 221s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 221s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 221s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 221s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s build (gmodule, static): OK 221s + echo build (gmodule, static): OK 221s + [ -x gmodule-static ] 221s + foo=bar ./gmodule-static 221s run (gmodule, static): OK 221s + echo run (gmodule, static): OK 221s + cflags= 221s + pcflags= 221s + packages=gthread-2.0 221s + cflags=-static 221s + pcflags=--static 221s + pkg-config --static --cflags --libs gthread-2.0 221s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 221s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 221s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 221s build (gthread, static): OK 221s + echo build (gthread, static): OK 221s + [ -x gthread-static ] 221s + foo=bar ./gthread-static 221s run (gthread, static): OK 221s + echo run (gthread, static): OK 221s + rm -rf /tmp/tmp.FUEsq7a2U1 222s autopkgtest [21:41:50]: test build-static: -----------------------] 222s autopkgtest [21:41:50]: test build-static: - - - - - - - - - - results - - - - - - - - - - 222s build-static PASS (superficial) 223s autopkgtest [21:41:51]: test girepository-tools: preparing testbed 316s autopkgtest [21:43:24]: testbed dpkg architecture: arm64 317s autopkgtest [21:43:25]: testbed apt version: 2.9.30ubuntu1 317s autopkgtest [21:43:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 317s autopkgtest [21:43:25]: testbed release detected to be: plucky 318s autopkgtest [21:43:26]: updating testbed package index (apt update) 319s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 319s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 319s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 319s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 319s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [85.6 kB] 319s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 319s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [708 kB] 319s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 319s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [128 kB] 319s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [7960 B] 319s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [665 kB] 319s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.7 kB] 319s Fetched 1733 kB in 1s (1848 kB/s) 321s Reading package lists... 321s + lsb_release --codename --short 321s + RELEASE=plucky 321s + cat 321s + [ plucky != trusty ] 321s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 321s Reading package lists... 322s Building dependency tree... 322s Reading state information... 323s Calculating upgrade... 323s Calculating upgrade... 323s The following packages will be upgraded: 323s apparmor base-files cloud-init cloud-init-base gcc-14-base libapparmor1 323s libgnutls30t64 liblsof0 libnss3 lsof motd-news-config ucf 324s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 324s Need to get 4207 kB of archives. 324s After this operation, 22.5 kB of additional disk space will be used. 324s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 motd-news-config all 13.6ubuntu1 [5168 B] 324s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 base-files arm64 13.6ubuntu1 [75.6 kB] 324s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-base arm64 14.2.0-17ubuntu3 [53.6 kB] 324s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libapparmor1 arm64 4.1.0~beta5-0ubuntu5 [53.7 kB] 324s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libgnutls30t64 arm64 3.8.9-2ubuntu2 [962 kB] 324s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 ucf all 3.0050 [43.5 kB] 324s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 apparmor arm64 4.1.0~beta5-0ubuntu5 [660 kB] 324s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 lsof arm64 4.99.4+dfsg-2 [236 kB] 324s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsof0 arm64 4.99.4+dfsg-2 [54.0 kB] 324s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init-base all 25.1-0ubuntu1 [616 kB] 324s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libnss3 arm64 2:3.108-1ubuntu1 [1446 kB] 324s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init all 25.1-0ubuntu1 [2088 B] 325s Preconfiguring packages ... 325s Fetched 4207 kB in 1s (5427 kB/s) 326s (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 ... 116668 files and directories currently installed.) 326s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 326s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 326s Preparing to unpack .../base-files_13.6ubuntu1_arm64.deb ... 326s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 326s Setting up base-files (13.6ubuntu1) ... 326s Updating /root/.profile to current default. 327s motd-news.service is a disabled or a static unit not running, not starting it. 327s (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 ... 116668 files and directories currently installed.) 327s Preparing to unpack .../0-gcc-14-base_14.2.0-17ubuntu3_arm64.deb ... 327s Unpacking gcc-14-base:arm64 (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 327s Preparing to unpack .../1-libapparmor1_4.1.0~beta5-0ubuntu5_arm64.deb ... 327s Unpacking libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 327s Preparing to unpack .../2-libgnutls30t64_3.8.9-2ubuntu2_arm64.deb ... 327s Unpacking libgnutls30t64:arm64 (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ... 327s Preparing to unpack .../3-ucf_3.0050_all.deb ... 327s Unpacking ucf (3.0050) over (3.0049) ... 327s Preparing to unpack .../4-apparmor_4.1.0~beta5-0ubuntu5_arm64.deb ... 328s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 329s Preparing to unpack .../5-lsof_4.99.4+dfsg-2_arm64.deb ... 329s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 329s Preparing to unpack .../6-liblsof0_4.99.4+dfsg-2_arm64.deb ... 329s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 329s Preparing to unpack .../7-cloud-init-base_25.1-0ubuntu1_all.deb ... 330s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 330s for fn in glob1(directory, "%s.*" % fname): 330s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 330s Preparing to unpack .../8-libnss3_2%3a3.108-1ubuntu1_arm64.deb ... 330s Unpacking libnss3:arm64 (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ... 330s Preparing to unpack .../9-cloud-init_25.1-0ubuntu1_all.deb ... 330s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 330s Setting up libgnutls30t64:arm64 (3.8.9-2ubuntu2) ... 330s Setting up motd-news-config (13.6ubuntu1) ... 330s Setting up libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) ... 330s Setting up gcc-14-base:arm64 (14.2.0-17ubuntu3) ... 330s Setting up liblsof0 (4.99.4+dfsg-2) ... 330s Setting up libnss3:arm64 (2:3.108-1ubuntu1) ... 330s Setting up cloud-init-base (25.1-0ubuntu1) ... 333s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 333s Installing new version of config file /etc/apparmor.d/fusermount3 ... 335s Reloading AppArmor profiles 337s Setting up ucf (3.0050) ... 337s Setting up lsof (4.99.4+dfsg-2) ... 337s Setting up cloud-init (25.1-0ubuntu1) ... 337s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ... 337s Processing triggers for systemd (257.2-3ubuntu1) ... 337s Processing triggers for man-db (2.13.0-1) ... 339s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 339s Processing triggers for install-info (7.1.1-1) ... 339s Processing triggers for libc-bin (2.40-4ubuntu1) ... 339s Processing triggers for initramfs-tools (0.145ubuntu2) ... 339s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 340s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 359s System running in EFI mode, skipping. 360s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 360s + /usr/lib/apt/apt-helper analyze-pattern ?true 360s + uname -r 360s + sed s/\./\\./g 360s + running_kernel_pattern=^linux-.*6\.12\.0-15-generic.* 360s + apt list+ ?obsoletetail -n+2 360s 360s + cut -d/ -f1 360s + grep -v ^linux-.*6\.12\.0-15-generic.* 360s + true 360s + obsolete_pkgs= 360s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove 360s Reading package lists... 360s Building dependency tree... 360s Reading state information... 361s Solving dependencies... 361s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 361s + grep -q trusty /etc/lsb-release 361s + [ ! -d /usr/share/doc/unattended-upgrades ] 361s + [ ! -d /usr/share/doc/lxd ] 361s + [ ! -d /usr/share/doc/lxd-client ] 361s + [ ! -d /usr/share/doc/snapd ] 361s + type iptables 361s + cat 361s + chmod 755 /etc/rc.local 361s + . /etc/rc.local 361s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 361s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 361s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 361s + uname -m 361s + [ aarch64 = ppc64le ] 361s + [ -d /run/systemd/system ] 361s + systemd-detect-virt --quiet --vm 361s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 361s + cat 361s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 361s + echo COMPRESS=lz4 361s autopkgtest [21:44:09]: upgrading testbed (apt dist-upgrade and autopurge) 362s Reading package lists... 362s Building dependency tree... 362s Reading state information... 362s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 363s Starting 2 pkgProblemResolver with broken count: 0 363s Done 363s Entering ResolveByKeep 364s 364s Calculating upgrade... 364s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 365s Reading package lists... 365s Building dependency tree... 365s Reading state information... 365s Starting pkgProblemResolver with broken count: 0 366s Starting 2 pkgProblemResolver with broken count: 0 366s Done 366s Solving dependencies... 366s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 367s autopkgtest [21:44:15]: rebooting testbed after setup commands that affected boot 393s Reading package lists... 393s Building dependency tree... 393s Reading state information... 393s Starting pkgProblemResolver with broken count: 0 394s Starting 2 pkgProblemResolver with broken count: 0 394s Done 394s The following NEW packages will be installed: 394s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 394s native-architecture 394s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 394s Need to get 1040 kB of archives. 394s After this operation, 12.8 MB of additional disk space will be used. 394s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.83.3-2 [860 kB] 395s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.5 [2082 B] 395s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.83.3-2 [73.2 kB] 395s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.83.3-2 [105 kB] 395s Fetched 1040 kB in 1s (1542 kB/s) 395s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 396s (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 ... 116669 files and directories currently installed.) 396s Preparing to unpack .../gir1.2-glib-2.0-dev_2.83.3-2_arm64.deb ... 396s Unpacking gir1.2-glib-2.0-dev:arm64 (2.83.3-2) ... 396s Selecting previously unselected package native-architecture. 396s Preparing to unpack .../native-architecture_0.2.5_all.deb ... 396s Unpacking native-architecture (0.2.5) ... 396s Selecting previously unselected package libgirepository-2.0-0:arm64. 396s Preparing to unpack .../libgirepository-2.0-0_2.83.3-2_arm64.deb ... 396s Unpacking libgirepository-2.0-0:arm64 (2.83.3-2) ... 396s Selecting previously unselected package girepository-tools:arm64. 396s Preparing to unpack .../girepository-tools_2.83.3-2_arm64.deb ... 396s Unpacking girepository-tools:arm64 (2.83.3-2) ... 396s Setting up native-architecture (0.2.5) ... 396s Setting up libgirepository-2.0-0:arm64 (2.83.3-2) ... 396s Setting up gir1.2-glib-2.0-dev:arm64 (2.83.3-2) ... 396s Setting up girepository-tools:arm64 (2.83.3-2) ... 396s Processing triggers for man-db (2.13.0-1) ... 397s Processing triggers for libc-bin (2.40-4ubuntu1) ... 407s autopkgtest [21:44:55]: test girepository-tools: [----------------------- 408s + cd /tmp/autopkgtest.WcFGAy/autopkgtest_tmp 408s + dpkg-architecture -qDEB_HOST_GNU_TYPE 408s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 408s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 408s + dpkg-architecture -qDEB_HOST_MULTIARCH 408s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 408s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 408s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 408s typelib: GLib-2.0 408s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 408s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 408s autopkgtest [21:44:56]: test girepository-tools: -----------------------] 409s autopkgtest [21:44:57]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 409s girepository-tools PASS (superficial) 409s autopkgtest [21:44:57]: test libgio-2.0-dev-bin: preparing testbed 507s autopkgtest [21:46:35]: testbed dpkg architecture: arm64 507s autopkgtest [21:46:35]: testbed apt version: 2.9.30ubuntu1 508s autopkgtest [21:46:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 508s autopkgtest [21:46:36]: testbed release detected to be: plucky 509s autopkgtest [21:46:37]: updating testbed package index (apt update) 509s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 509s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 510s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 510s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 510s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 510s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [85.6 kB] 510s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 510s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [708 kB] 510s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [128 kB] 510s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [7960 B] 510s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [665 kB] 510s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.7 kB] 510s Fetched 1733 kB in 1s (1925 kB/s) 511s Reading package lists... 512s + lsb_release --codename --short 512s + RELEASE=plucky 512s + cat 512s + [ plucky != trusty ] 512s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 512s Reading package lists... 513s Building dependency tree... 513s Reading state information... 513s Calculating upgrade... 513s Calculating upgrade... 514s The following packages will be upgraded: 514s apparmor base-files cloud-init cloud-init-base gcc-14-base libapparmor1 514s libgnutls30t64 liblsof0 libnss3 lsof motd-news-config ucf 514s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 514s Need to get 4207 kB of archives. 514s After this operation, 22.5 kB of additional disk space will be used. 514s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 motd-news-config all 13.6ubuntu1 [5168 B] 514s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 base-files arm64 13.6ubuntu1 [75.6 kB] 514s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-base arm64 14.2.0-17ubuntu3 [53.6 kB] 514s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libapparmor1 arm64 4.1.0~beta5-0ubuntu5 [53.7 kB] 514s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libgnutls30t64 arm64 3.8.9-2ubuntu2 [962 kB] 514s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 ucf all 3.0050 [43.5 kB] 514s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 apparmor arm64 4.1.0~beta5-0ubuntu5 [660 kB] 515s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 lsof arm64 4.99.4+dfsg-2 [236 kB] 515s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsof0 arm64 4.99.4+dfsg-2 [54.0 kB] 515s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init-base all 25.1-0ubuntu1 [616 kB] 515s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libnss3 arm64 2:3.108-1ubuntu1 [1446 kB] 515s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init all 25.1-0ubuntu1 [2088 B] 515s Preconfiguring packages ... 515s Fetched 4207 kB in 1s (5160 kB/s) 516s (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 ... 116668 files and directories currently installed.) 516s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 516s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 516s Preparing to unpack .../base-files_13.6ubuntu1_arm64.deb ... 516s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 516s Setting up base-files (13.6ubuntu1) ... 516s Updating /root/.profile to current default. 517s motd-news.service is a disabled or a static unit not running, not starting it. 517s (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 ... 116668 files and directories currently installed.) 517s Preparing to unpack .../0-gcc-14-base_14.2.0-17ubuntu3_arm64.deb ... 517s Unpacking gcc-14-base:arm64 (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 517s Preparing to unpack .../1-libapparmor1_4.1.0~beta5-0ubuntu5_arm64.deb ... 517s Unpacking libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 517s Preparing to unpack .../2-libgnutls30t64_3.8.9-2ubuntu2_arm64.deb ... 517s Unpacking libgnutls30t64:arm64 (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ... 517s Preparing to unpack .../3-ucf_3.0050_all.deb ... 517s Unpacking ucf (3.0050) over (3.0049) ... 517s Preparing to unpack .../4-apparmor_4.1.0~beta5-0ubuntu5_arm64.deb ... 519s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 519s Preparing to unpack .../5-lsof_4.99.4+dfsg-2_arm64.deb ... 519s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 519s Preparing to unpack .../6-liblsof0_4.99.4+dfsg-2_arm64.deb ... 519s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 519s Preparing to unpack .../7-cloud-init-base_25.1-0ubuntu1_all.deb ... 520s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 520s for fn in glob1(directory, "%s.*" % fname): 520s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 520s Preparing to unpack .../8-libnss3_2%3a3.108-1ubuntu1_arm64.deb ... 520s Unpacking libnss3:arm64 (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ... 520s Preparing to unpack .../9-cloud-init_25.1-0ubuntu1_all.deb ... 520s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 520s Setting up libgnutls30t64:arm64 (3.8.9-2ubuntu2) ... 520s Setting up motd-news-config (13.6ubuntu1) ... 520s Setting up libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) ... 520s Setting up gcc-14-base:arm64 (14.2.0-17ubuntu3) ... 520s Setting up liblsof0 (4.99.4+dfsg-2) ... 520s Setting up libnss3:arm64 (2:3.108-1ubuntu1) ... 520s Setting up cloud-init-base (25.1-0ubuntu1) ... 522s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 522s Installing new version of config file /etc/apparmor.d/fusermount3 ... 524s Reloading AppArmor profiles 525s Setting up ucf (3.0050) ... 525s Setting up lsof (4.99.4+dfsg-2) ... 525s Setting up cloud-init (25.1-0ubuntu1) ... 525s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ... 526s Processing triggers for systemd (257.2-3ubuntu1) ... 526s Processing triggers for man-db (2.13.0-1) ... 527s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 527s Processing triggers for install-info (7.1.1-1) ... 528s Processing triggers for libc-bin (2.40-4ubuntu1) ... 528s Processing triggers for initramfs-tools (0.145ubuntu2) ... 528s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 528s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 554s System running in EFI mode, skipping. 554s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 554s + /usr/lib/apt/apt-helper analyze-pattern ?true 554s + uname -r 554s + sed s/\./\\./g 554s + running_kernel_pattern=^linux-.*6\.12\.0-15-generic.* 554s + + apt list ?obsolete 554s tail -n+2 554s + + grep -v ^linux-.*6\.12\.0-15-generic.* 554s cut -d/ -f1 555s + true 555s + obsolete_pkgs= 555s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove 555s Reading package lists... 555s Building dependency tree... 555s Reading state information... 556s Solving dependencies... 557s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 557s + grep -q trusty /etc/lsb-release 557s + [ ! -d /usr/share/doc/unattended-upgrades ] 557s + [ ! -d /usr/share/doc/lxd ] 557s + [ ! -d /usr/share/doc/lxd-client ] 557s + [ ! -d /usr/share/doc/snapd ] 557s + type iptables 557s + cat 557s + chmod 755 /etc/rc.local 557s + . /etc/rc.local 557s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 557s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 557s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 557s + uname -m 557s + [ aarch64 = ppc64le ] 557s + [ -d /run/systemd/system ] 557s + systemd-detect-virt --quiet --vm 557s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 557s + cat 557s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 557s + echo COMPRESS=lz4 557s autopkgtest [21:47:25]: upgrading testbed (apt dist-upgrade and autopurge) 557s Reading package lists... 558s Building dependency tree... 558s Reading state information... 559s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 559s Starting 2 pkgProblemResolver with broken count: 0 559s Done 561s Entering ResolveByKeep 561s 562s Calculating upgrade... 563s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 563s Reading package lists... 564s Building dependency tree... 564s Reading state information... 564s Starting pkgProblemResolver with broken count: 0 564s Starting 2 pkgProblemResolver with broken count: 0 564s Done 565s Solving dependencies... 566s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 566s autopkgtest [21:47:34]: rebooting testbed after setup commands that affected boot 589s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 599s Reading package lists... 600s Building dependency tree... 600s Reading state information... 600s Starting pkgProblemResolver with broken count: 0 601s Starting 2 pkgProblemResolver with broken count: 0 601s Done 603s The following NEW packages will be installed: 603s libgio-2.0-dev-bin python3-packaging 603s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 603s Need to get 180 kB of archives. 603s After this operation, 1068 kB of additional disk space will be used. 603s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 603s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.83.3-2 [129 kB] 604s Fetched 180 kB in 0s (373 kB/s) 604s Selecting previously unselected package python3-packaging. 604s (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 ... 116669 files and directories currently installed.) 604s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 604s Unpacking python3-packaging (24.2-1) ... 604s Selecting previously unselected package libgio-2.0-dev-bin. 604s Preparing to unpack .../libgio-2.0-dev-bin_2.83.3-2_arm64.deb ... 604s Unpacking libgio-2.0-dev-bin (2.83.3-2) ... 604s Setting up python3-packaging (24.2-1) ... 605s Setting up libgio-2.0-dev-bin (2.83.3-2) ... 605s Processing triggers for man-db (2.13.0-1) ... 611s autopkgtest [21:48:19]: test libgio-2.0-dev-bin: [----------------------- 612s + gdbus-codegen --help 612s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 612s [--c-namespace NAMESPACE] [--c-generate-object-manager] 612s [--c-generate-autocleanup {none,objects,all}] 612s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 612s [--generate-rst OUTFILES] [--pragma-once] 612s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 612s [--glib-min-required VERSION] 612s [--glib-max-allowed VERSION] 612s [--symbol-decorator SYMBOL_DECORATOR] 612s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 612s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 612s [--generate-c-code OUTFILES | --header | --body | 612s --interface-info-header | --interface-info-body] 612s [--output FILE | --output-directory OUTDIR] 612s FILE [FILE ...] 612s 612s D-Bus code and documentation generator 612s 612s positional arguments: 612s FILE D-Bus introspection XML file 612s 612s options: 612s -h, --help show this help message and exit 612s --interface-prefix PREFIX 612s String to strip from D-Bus interface names for code 612s and docs 612s --c-namespace NAMESPACE 612s The namespace to use for generated C code 612s --c-generate-object-manager 612s Generate a GDBusObjectManagerClient subclass when 612s generating C code 612s --c-generate-autocleanup {none,objects,all} 612s Generate autocleanup support 612s --generate-docbook OUTFILES 612s Generate Docbook in OUTFILES-org.Project.IFace.xml 612s --generate-md OUTFILES 612s Generate Markdown in OUTFILES-org.Project.IFace.md 612s --generate-rst OUTFILES 612s Generate reStructuredText in OUTFILES- 612s org.Project.IFace.rst 612s --pragma-once Use "pragma once" as the inclusion guard 612s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 612s Add annotation (may be used several times) 612s --glib-min-required VERSION 612s Minimum version of GLib to be supported by the 612s outputted code (default: 2.30) 612s --glib-max-allowed VERSION 612s Maximum version of GLib to be used by the outputted 612s code (default: current GLib version) 612s --symbol-decorator SYMBOL_DECORATOR 612s Macro used to decorate a symbol in the outputted 612s header, possibly to export symbols 612s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 612s Additional header required for decorator specified by 612s --symbol-decorator 612s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 612s Additional define required for decorator specified by 612s --symbol-decorator 612s --generate-c-code OUTFILES 612s Generate C code in OUTFILES.[ch] 612s --header Generate C headers 612s --body Generate C code 612s --interface-info-header 612s Generate GDBusInterfaceInfo C header 612s --interface-info-body 612s Generate GDBusInterfaceInfo C code 612s --output FILE Write output into the specified file 612s --output-directory OUTDIR 612s Location to output generated files 612s + glib-compile-resources --version 612s 2.83.3 612s + glib-genmarshal --version 612s glib-genmarshal version 2.83.3 612s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 612s You may redistribute copies of glib-genmarshal under the terms of 612s the GNU General Public License which can be found in the 612s GLib source package. Sources, examples and contact 612s information are available at http://www.gtk.org 612s + glib-gettextize --version 612s + glib-mkenums --version 612s /usr/bin/glib-gettextize (GNU glib) 2.83.3 612s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 612s This is free software; see the source for copying conditions. There is NO 612s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 612s Written by Ulrich Drepper 612s glib-mkenums version 2.83.3 612s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 612s You may redistribute copies of glib-mkenums under the terms of 612s the GNU General Public License which can be found in the 612s GLib source package. Sources, examples and contact 612s information are available at http://www.gtk.org 612s + gobject-query tree 612s GObject 612s + gtester --version 612s gtester version 2.83.3 612s + gtester-report --version 612s gtester-report (GLib utils) version 2.83.3. 612s autopkgtest [21:48:20]: test libgio-2.0-dev-bin: -----------------------] 613s libgio-2.0-dev-bin PASS (superficial) 613s autopkgtest [21:48:21]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 613s autopkgtest [21:48:21]: test libglib2.0-dev: preparing testbed 688s autopkgtest [21:49:35]: testbed dpkg architecture: arm64 688s autopkgtest [21:49:36]: testbed apt version: 2.9.30ubuntu1 688s autopkgtest [21:49:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 688s autopkgtest [21:49:36]: testbed release detected to be: plucky 689s autopkgtest [21:49:37]: updating testbed package index (apt update) 689s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 689s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 689s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 690s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 690s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 690s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 690s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [708 kB] 690s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [85.6 kB] 690s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [128 kB] 690s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [7960 B] 690s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [665 kB] 690s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.7 kB] 690s Fetched 1733 kB in 1s (1974 kB/s) 691s Reading package lists... 691s + lsb_release --codename --short 691s + RELEASE=plucky 691s + cat 691s + [ plucky != trusty ] 691s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 691s Reading package lists... 692s Building dependency tree... 692s Reading state information... 692s Calculating upgrade... 692s Calculating upgrade... 693s The following packages will be upgraded: 693s apparmor base-files cloud-init cloud-init-base gcc-14-base libapparmor1 693s libgnutls30t64 liblsof0 libnss3 lsof motd-news-config ucf 693s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 693s Need to get 4207 kB of archives. 693s After this operation, 22.5 kB of additional disk space will be used. 693s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 motd-news-config all 13.6ubuntu1 [5168 B] 693s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 base-files arm64 13.6ubuntu1 [75.6 kB] 693s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-base arm64 14.2.0-17ubuntu3 [53.6 kB] 693s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libapparmor1 arm64 4.1.0~beta5-0ubuntu5 [53.7 kB] 693s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libgnutls30t64 arm64 3.8.9-2ubuntu2 [962 kB] 693s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 ucf all 3.0050 [43.5 kB] 693s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 apparmor arm64 4.1.0~beta5-0ubuntu5 [660 kB] 693s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 lsof arm64 4.99.4+dfsg-2 [236 kB] 693s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsof0 arm64 4.99.4+dfsg-2 [54.0 kB] 693s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init-base all 25.1-0ubuntu1 [616 kB] 694s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libnss3 arm64 2:3.108-1ubuntu1 [1446 kB] 694s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init all 25.1-0ubuntu1 [2088 B] 694s Preconfiguring packages ... 694s Fetched 4207 kB in 1s (5298 kB/s) 694s (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 ... 116668 files and directories currently installed.) 694s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 694s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 694s Preparing to unpack .../base-files_13.6ubuntu1_arm64.deb ... 695s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 695s Setting up base-files (13.6ubuntu1) ... 695s Updating /root/.profile to current default. 695s motd-news.service is a disabled or a static unit not running, not starting it. 695s (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 ... 116668 files and directories currently installed.) 695s Preparing to unpack .../0-gcc-14-base_14.2.0-17ubuntu3_arm64.deb ... 695s Unpacking gcc-14-base:arm64 (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 695s Preparing to unpack .../1-libapparmor1_4.1.0~beta5-0ubuntu5_arm64.deb ... 695s Unpacking libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 695s Preparing to unpack .../2-libgnutls30t64_3.8.9-2ubuntu2_arm64.deb ... 695s Unpacking libgnutls30t64:arm64 (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ... 696s Preparing to unpack .../3-ucf_3.0050_all.deb ... 696s Unpacking ucf (3.0050) over (3.0049) ... 696s Preparing to unpack .../4-apparmor_4.1.0~beta5-0ubuntu5_arm64.deb ... 696s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 697s Preparing to unpack .../5-lsof_4.99.4+dfsg-2_arm64.deb ... 697s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 697s Preparing to unpack .../6-liblsof0_4.99.4+dfsg-2_arm64.deb ... 697s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 697s Preparing to unpack .../7-cloud-init-base_25.1-0ubuntu1_all.deb ... 697s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 697s for fn in glob1(directory, "%s.*" % fname): 697s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 697s Preparing to unpack .../8-libnss3_2%3a3.108-1ubuntu1_arm64.deb ... 697s Unpacking libnss3:arm64 (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ... 697s Preparing to unpack .../9-cloud-init_25.1-0ubuntu1_all.deb ... 697s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 697s Setting up libgnutls30t64:arm64 (3.8.9-2ubuntu2) ... 697s Setting up motd-news-config (13.6ubuntu1) ... 697s Setting up libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) ... 697s Setting up gcc-14-base:arm64 (14.2.0-17ubuntu3) ... 697s Setting up liblsof0 (4.99.4+dfsg-2) ... 697s Setting up libnss3:arm64 (2:3.108-1ubuntu1) ... 697s Setting up cloud-init-base (25.1-0ubuntu1) ... 699s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 699s Installing new version of config file /etc/apparmor.d/fusermount3 ... 700s Reloading AppArmor profiles 701s Setting up ucf (3.0050) ... 701s Setting up lsof (4.99.4+dfsg-2) ... 701s Setting up cloud-init (25.1-0ubuntu1) ... 701s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ... 702s Processing triggers for systemd (257.2-3ubuntu1) ... 702s Processing triggers for man-db (2.13.0-1) ... 703s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 703s Processing triggers for install-info (7.1.1-1) ... 703s Processing triggers for libc-bin (2.40-4ubuntu1) ... 703s Processing triggers for initramfs-tools (0.145ubuntu2) ... 703s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 703s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 722s System running in EFI mode, skipping. 722s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 722s + /usr/lib/apt/apt-helper analyze-pattern ?true 722s + uname -r 722s + sed s/\./\\./g 722s + running_kernel_pattern=^linux-.*6\.12\.0-15-generic.* 722s + tail -n+2 722s + apt list ?obsolete 722s + cut -d/ -f1 722s + grep -v ^linux-.*6\.12\.0-15-generic.* 723s + true 723s + obsolete_pkgs= 723s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove 723s Reading package lists... 723s Building dependency tree... 723s Reading state information... 723s Solving dependencies... 724s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 724s + grep -q trusty /etc/lsb-release 724s + [ ! -d /usr/share/doc/unattended-upgrades ] 724s + [ ! -d /usr/share/doc/lxd ] 724s + [ ! -d /usr/share/doc/lxd-client ] 724s + [ ! -d /usr/share/doc/snapd ] 724s + type iptables 724s + cat 724s + chmod 755 /etc/rc.local 724s + . /etc/rc.local 724s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 724s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 724s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 724s + uname -m 724s + [ aarch64 = ppc64le ] 724s + [ -d /run/systemd/system ] 724s + systemd-detect-virt --quiet --vm 724s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 724s + cat 724s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 724s + echo COMPRESS=lz4 724s autopkgtest [21:50:12]: upgrading testbed (apt dist-upgrade and autopurge) 724s Reading package lists... 724s Building dependency tree... 724s Reading state information... 725s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 725s Starting 2 pkgProblemResolver with broken count: 0 725s Done 726s Entering ResolveByKeep 726s 726s Calculating upgrade... 726s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 727s Reading package lists... 727s Building dependency tree... 727s Reading state information... 727s Starting pkgProblemResolver with broken count: 0 727s Starting 2 pkgProblemResolver with broken count: 0 727s Done 728s Solving dependencies... 728s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 728s autopkgtest [21:50:16]: rebooting testbed after setup commands that affected boot 755s Reading package lists... 755s Building dependency tree... 755s Reading state information... 756s Starting pkgProblemResolver with broken count: 0 756s Starting 2 pkgProblemResolver with broken count: 0 756s Done 756s The following NEW packages will be installed: 756s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 756s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 756s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev 756s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 756s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 756s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 756s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 756s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 756s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 756s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 757s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 757s Need to get 66.4 MB of archives. 757s After this operation, 243 MB of additional disk space will be used. 757s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 757s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 757s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-17ubuntu3 [10.6 MB] 757s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-17ubuntu3 [1028 B] 757s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [5558 B] 757s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.2.0-1ubuntu1 [22.4 kB] 757s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 15-20250213-1ubuntu1 [44.2 kB] 757s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 15-20250213-1ubuntu1 [146 kB] 757s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 15-20250213-1ubuntu1 [28.0 kB] 757s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 15-20250213-1ubuntu1 [2928 kB] 758s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 15-20250213-1ubuntu1 [1319 kB] 758s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 15-20250213-1ubuntu1 [2695 kB] 758s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 15-20250213-1ubuntu1 [1178 kB] 758s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 15-20250213-1ubuntu1 [1642 kB] 758s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-17ubuntu3 [2593 kB] 758s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-17ubuntu3 [20.9 MB] 758s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-17ubuntu3 [526 kB] 758s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [1200 B] 758s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.2.0-1ubuntu1 [4998 B] 758s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-17ubuntu3 [2499 kB] 758s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-17ubuntu3 [12.1 MB] 759s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-17ubuntu3 [21.8 kB] 759s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.2.0-1ubuntu1 [956 B] 759s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.2.0-1ubuntu1 [1080 B] 759s Get:25 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 build-essential arm64 12.12 [4610 B] 759s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.83.3-2 [860 kB] 759s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.5 [2082 B] 759s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.83.3-2 [73.2 kB] 759s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.83.3-2 [105 kB] 759s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.7-1 [59.5 kB] 759s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-14ubuntu1 [55.2 kB] 759s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-14ubuntu1 [243 kB] 759s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 759s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 759s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 759s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 759s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 759s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1-dev arm64 3.7-3ubuntu2 [174 kB] 759s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-14ubuntu1 [34.6 kB] 759s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 48~beta-2 [55.0 kB] 759s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 759s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 759s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 759s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 759s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.83.3-2 [1915 kB] 759s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 759s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.83.3-2 [129 kB] 759s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-bin arm64 2.83.3-2 [98.2 kB] 759s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.83.3-2 [18.1 kB] 759s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev arm64 2.83.3-2 [18.9 kB] 759s Fetched 66.4 MB in 2s (27.7 MB/s) 759s Selecting previously unselected package libisl23:arm64. 760s (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 ... 116669 files and directories currently installed.) 760s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 760s Unpacking libisl23:arm64 (0.27-1) ... 760s Selecting previously unselected package libmpc3:arm64. 760s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 760s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 760s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 760s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-17ubuntu3_arm64.deb ... 760s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 760s Selecting previously unselected package cpp-14. 760s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_arm64.deb ... 760s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 760s Selecting previously unselected package cpp-aarch64-linux-gnu. 760s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 760s Unpacking cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 760s Selecting previously unselected package cpp. 760s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_arm64.deb ... 760s Unpacking cpp (4:14.2.0-1ubuntu1) ... 760s Selecting previously unselected package libcc1-0:arm64. 760s Preparing to unpack .../06-libcc1-0_15-20250213-1ubuntu1_arm64.deb ... 760s Unpacking libcc1-0:arm64 (15-20250213-1ubuntu1) ... 760s Selecting previously unselected package libgomp1:arm64. 760s Preparing to unpack .../07-libgomp1_15-20250213-1ubuntu1_arm64.deb ... 760s Unpacking libgomp1:arm64 (15-20250213-1ubuntu1) ... 760s Selecting previously unselected package libitm1:arm64. 760s Preparing to unpack .../08-libitm1_15-20250213-1ubuntu1_arm64.deb ... 760s Unpacking libitm1:arm64 (15-20250213-1ubuntu1) ... 760s Selecting previously unselected package libasan8:arm64. 760s Preparing to unpack .../09-libasan8_15-20250213-1ubuntu1_arm64.deb ... 760s Unpacking libasan8:arm64 (15-20250213-1ubuntu1) ... 760s Selecting previously unselected package liblsan0:arm64. 760s Preparing to unpack .../10-liblsan0_15-20250213-1ubuntu1_arm64.deb ... 760s Unpacking liblsan0:arm64 (15-20250213-1ubuntu1) ... 760s Selecting previously unselected package libtsan2:arm64. 760s Preparing to unpack .../11-libtsan2_15-20250213-1ubuntu1_arm64.deb ... 760s Unpacking libtsan2:arm64 (15-20250213-1ubuntu1) ... 760s Selecting previously unselected package libubsan1:arm64. 761s Preparing to unpack .../12-libubsan1_15-20250213-1ubuntu1_arm64.deb ... 761s Unpacking libubsan1:arm64 (15-20250213-1ubuntu1) ... 761s Selecting previously unselected package libhwasan0:arm64. 761s Preparing to unpack .../13-libhwasan0_15-20250213-1ubuntu1_arm64.deb ... 761s Unpacking libhwasan0:arm64 (15-20250213-1ubuntu1) ... 761s Selecting previously unselected package libgcc-14-dev:arm64. 761s Preparing to unpack .../14-libgcc-14-dev_14.2.0-17ubuntu3_arm64.deb ... 761s Unpacking libgcc-14-dev:arm64 (14.2.0-17ubuntu3) ... 761s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 761s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-17ubuntu3_arm64.deb ... 761s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 761s Selecting previously unselected package gcc-14. 761s Preparing to unpack .../16-gcc-14_14.2.0-17ubuntu3_arm64.deb ... 761s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 761s Selecting previously unselected package gcc-aarch64-linux-gnu. 761s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 761s Unpacking gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 761s Selecting previously unselected package gcc. 761s Preparing to unpack .../18-gcc_4%3a14.2.0-1ubuntu1_arm64.deb ... 761s Unpacking gcc (4:14.2.0-1ubuntu1) ... 761s Selecting previously unselected package libstdc++-14-dev:arm64. 761s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-17ubuntu3_arm64.deb ... 761s Unpacking libstdc++-14-dev:arm64 (14.2.0-17ubuntu3) ... 761s Selecting previously unselected package g++-14-aarch64-linux-gnu. 762s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-17ubuntu3_arm64.deb ... 762s Unpacking g++-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 762s Selecting previously unselected package g++-14. 762s Preparing to unpack .../21-g++-14_14.2.0-17ubuntu3_arm64.deb ... 762s Unpacking g++-14 (14.2.0-17ubuntu3) ... 762s Selecting previously unselected package g++-aarch64-linux-gnu. 762s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.2.0-1ubuntu1_arm64.deb ... 762s Unpacking g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 762s Selecting previously unselected package g++. 762s Preparing to unpack .../23-g++_4%3a14.2.0-1ubuntu1_arm64.deb ... 762s Unpacking g++ (4:14.2.0-1ubuntu1) ... 762s Selecting previously unselected package build-essential. 762s Preparing to unpack .../24-build-essential_12.12_arm64.deb ... 762s Unpacking build-essential (12.12) ... 762s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 762s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.83.3-2_arm64.deb ... 762s Unpacking gir1.2-glib-2.0-dev:arm64 (2.83.3-2) ... 762s Selecting previously unselected package native-architecture. 762s Preparing to unpack .../26-native-architecture_0.2.5_all.deb ... 762s Unpacking native-architecture (0.2.5) ... 762s Selecting previously unselected package libgirepository-2.0-0:arm64. 762s Preparing to unpack .../27-libgirepository-2.0-0_2.83.3-2_arm64.deb ... 762s Unpacking libgirepository-2.0-0:arm64 (2.83.3-2) ... 762s Selecting previously unselected package girepository-tools:arm64. 762s Preparing to unpack .../28-girepository-tools_2.83.3-2_arm64.deb ... 762s Unpacking girepository-tools:arm64 (2.83.3-2) ... 762s Selecting previously unselected package libffi-dev:arm64. 762s Preparing to unpack .../29-libffi-dev_3.4.7-1_arm64.deb ... 762s Unpacking libffi-dev:arm64 (3.4.7-1) ... 762s Selecting previously unselected package uuid-dev:arm64. 762s Preparing to unpack .../30-uuid-dev_2.40.2-14ubuntu1_arm64.deb ... 762s Unpacking uuid-dev:arm64 (2.40.2-14ubuntu1) ... 762s Selecting previously unselected package libblkid-dev:arm64. 762s Preparing to unpack .../31-libblkid-dev_2.40.2-14ubuntu1_arm64.deb ... 762s Unpacking libblkid-dev:arm64 (2.40.2-14ubuntu1) ... 762s Selecting previously unselected package libsepol-dev:arm64. 762s Preparing to unpack .../32-libsepol-dev_3.7-1_arm64.deb ... 762s Unpacking libsepol-dev:arm64 (3.7-1) ... 762s Selecting previously unselected package libpcre2-16-0:arm64. 762s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 762s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 762s Selecting previously unselected package libpcre2-32-0:arm64. 762s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 762s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 762s Selecting previously unselected package libpcre2-posix3:arm64. 762s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 762s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 762s Selecting previously unselected package libpcre2-dev:arm64. 762s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 762s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 763s Selecting previously unselected package libselinux1-dev:arm64. 763s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu2_arm64.deb ... 763s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu2) ... 763s Selecting previously unselected package libmount-dev:arm64. 763s Preparing to unpack .../38-libmount-dev_2.40.2-14ubuntu1_arm64.deb ... 763s Unpacking libmount-dev:arm64 (2.40.2-14ubuntu1) ... 763s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 763s Preparing to unpack .../39-libsysprof-capture-4-dev_48~beta-2_arm64.deb ... 763s Unpacking libsysprof-capture-4-dev:arm64 (48~beta-2) ... 763s Selecting previously unselected package libpkgconf3:arm64. 763s Preparing to unpack .../40-libpkgconf3_1.8.1-4_arm64.deb ... 763s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 763s Selecting previously unselected package pkgconf-bin. 763s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_arm64.deb ... 763s Unpacking pkgconf-bin (1.8.1-4) ... 763s Selecting previously unselected package pkgconf:arm64. 763s Preparing to unpack .../42-pkgconf_1.8.1-4_arm64.deb ... 763s Unpacking pkgconf:arm64 (1.8.1-4) ... 763s Selecting previously unselected package zlib1g-dev:arm64. 763s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 763s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 763s Selecting previously unselected package libgio-2.0-dev:arm64. 763s Preparing to unpack .../44-libgio-2.0-dev_2.83.3-2_arm64.deb ... 763s Unpacking libgio-2.0-dev:arm64 (2.83.3-2) ... 763s Selecting previously unselected package python3-packaging. 763s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 763s Unpacking python3-packaging (24.2-1) ... 763s Selecting previously unselected package libgio-2.0-dev-bin. 763s Preparing to unpack .../46-libgio-2.0-dev-bin_2.83.3-2_arm64.deb ... 763s Unpacking libgio-2.0-dev-bin (2.83.3-2) ... 763s Selecting previously unselected package libglib2.0-bin. 763s Preparing to unpack .../47-libglib2.0-bin_2.83.3-2_arm64.deb ... 763s Unpacking libglib2.0-bin (2.83.3-2) ... 763s Selecting previously unselected package libglib2.0-dev-bin. 763s Preparing to unpack .../48-libglib2.0-dev-bin_2.83.3-2_arm64.deb ... 763s Unpacking libglib2.0-dev-bin (2.83.3-2) ... 763s Selecting previously unselected package libglib2.0-dev:arm64. 763s Preparing to unpack .../49-libglib2.0-dev_2.83.3-2_arm64.deb ... 763s Unpacking libglib2.0-dev:arm64 (2.83.3-2) ... 763s Setting up native-architecture (0.2.5) ... 763s Setting up libgirepository-2.0-0:arm64 (2.83.3-2) ... 763s Setting up libglib2.0-bin (2.83.3-2) ... 763s Setting up libgomp1:arm64 (15-20250213-1ubuntu1) ... 763s Setting up libffi-dev:arm64 (3.4.7-1) ... 763s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 763s Setting up libsysprof-capture-4-dev:arm64 (48~beta-2) ... 763s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 763s Setting up python3-packaging (24.2-1) ... 763s Setting up libpkgconf3:arm64 (1.8.1-4) ... 763s Setting up uuid-dev:arm64 (2.40.2-14ubuntu1) ... 763s Setting up libmpc3:arm64 (1.3.1-1build2) ... 763s Setting up libsepol-dev:arm64 (3.7-1) ... 763s Setting up pkgconf-bin (1.8.1-4) ... 763s Setting up libubsan1:arm64 (15-20250213-1ubuntu1) ... 763s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 763s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 763s Setting up gir1.2-glib-2.0-dev:arm64 (2.83.3-2) ... 763s Setting up libhwasan0:arm64 (15-20250213-1ubuntu1) ... 763s Setting up libasan8:arm64 (15-20250213-1ubuntu1) ... 763s Setting up libtsan2:arm64 (15-20250213-1ubuntu1) ... 763s Setting up libisl23:arm64 (0.27-1) ... 763s Setting up libcc1-0:arm64 (15-20250213-1ubuntu1) ... 763s Setting up liblsan0:arm64 (15-20250213-1ubuntu1) ... 763s Setting up libitm1:arm64 (15-20250213-1ubuntu1) ... 763s Setting up libblkid-dev:arm64 (2.40.2-14ubuntu1) ... 763s Setting up libgio-2.0-dev-bin (2.83.3-2) ... 764s Setting up girepository-tools:arm64 (2.83.3-2) ... 764s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 764s Setting up libselinux1-dev:arm64 (3.7-3ubuntu2) ... 764s Setting up pkgconf:arm64 (1.8.1-4) ... 764s Setting up cpp-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 764s Setting up libgcc-14-dev:arm64 (14.2.0-17ubuntu3) ... 764s Setting up libstdc++-14-dev:arm64 (14.2.0-17ubuntu3) ... 764s Setting up libmount-dev:arm64 (2.40.2-14ubuntu1) ... 764s Setting up libglib2.0-dev-bin (2.83.3-2) ... 764s Setting up libgio-2.0-dev:arm64 (2.83.3-2) ... 764s Setting up cpp-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 764s Setting up cpp-14 (14.2.0-17ubuntu3) ... 764s Setting up cpp (4:14.2.0-1ubuntu1) ... 764s Setting up gcc-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 764s Setting up gcc-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 764s Setting up g++-14-aarch64-linux-gnu (14.2.0-17ubuntu3) ... 764s Setting up gcc-14 (14.2.0-17ubuntu3) ... 764s Setting up g++-aarch64-linux-gnu (4:14.2.0-1ubuntu1) ... 764s Setting up g++-14 (14.2.0-17ubuntu3) ... 764s Setting up gcc (4:14.2.0-1ubuntu1) ... 764s Setting up g++ (4:14.2.0-1ubuntu1) ... 764s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 764s Setting up build-essential (12.12) ... 764s Processing triggers for install-info (7.1.1-1) ... 764s Processing triggers for libc-bin (2.40-4ubuntu1) ... 764s Processing triggers for man-db (2.13.0-1) ... 765s Processing triggers for libglib2.0-0t64:arm64 (2.83.3-2) ... 765s No schema files found: doing nothing. 765s Setting up libglib2.0-dev:arm64 (2.83.3-2) ... 773s autopkgtest [21:51:01]: test libglib2.0-dev: [----------------------- 773s + debian/tests/build 773s + mode=dynamic 773s + getopt -o --long static -n debian/tests/build -- 773s + getopt_temp= -- 773s + eval set -- -- 773s + set -- -- 773s + true 773s + shift 773s + break 773s + mktemp -d 773s + WORKDIR=/tmp/tmp.7O69iHWtrE 773s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 773s + cd /tmp/tmp.7O69iHWtrE 773s + [ -n ] 773s + CROSS_COMPILE= 773s + cat 773s + cat 773s + cat 773s + cat 773s + cat 773s + cat 773s + cflags= 773s + pcflags= 773s + packages=glib-2.0 773s + pkg-config --cflags --libs glib-2.0 773s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 773s build (glib, dynamic): OK 773s run (glib, dynamic): OK 773s + echo build (glib, dynamic): OK 773s + [ -x glib-dynamic ] 773s + foo=bar ./glib-dynamic 773s + echo run (glib, dynamic): OK 773s + cflags= 773s + pcflags= 773s + packages=gobject-2.0 773s + pkg-config --cflags --libs gobject-2.0 773s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 773s build (gobject, dynamic): OK 773s + echo build (gobject, dynamic): OK 773s + [ -x gobject-dynamic ] 773s + foo=bar ./gobject-dynamic 773s + echo run (gobject, dynamic): OK 773s + cflags= 773s + pcflags= 773s + packages=gio-2.0 773s + pkg-config --cflags --libs gio-2.0 773s run (gobject, dynamic): OK 773s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 774s build (gio, dynamic): OK 774s + echo build (gio, dynamic): OK 774s + [ -x gio-dynamic ] 774s + foo=bar ./gio-dynamic 774s + echo run (gio, dynamic): OK 774s + cflags= 774s + pcflags= 774s + packages=gio-unix-2.0 774s + pkg-config --cflags --libs gio-unix-2.0 774s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 774s run (gio, dynamic): OK 774s build (gio-unix, dynamic): OK 774s + echo build (gio-unix, dynamic): OK 774s + [ -x gio-unix-dynamic ] 774s + foo=bar ./gio-unix-dynamic 774s + echo run (gio-unix, dynamic): OK 774s + cflags= 774s + pcflags= 774s + packages=gmodule-2.0 774s run (gio-unix, dynamic): OK 774s + pkg-config --cflags --libs gmodule-2.0 774s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 774s + build (gmodule, dynamic): OK 774s echo build (gmodule, dynamic): OK 774s + [ -x gmodule-dynamic ] 774s + foo=bar ./gmodule-dynamic 774s + run (gmodule, dynamic): OK 774s echo run (gmodule, dynamic): OK 774s + cflags= 774s + pcflags= 774s + packages=gthread-2.0 774s + pkg-config --cflags --libs gthread-2.0 774s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 774s build (gthread, dynamic): OK 774s + echo build (gthread, dynamic): OK 774s + [ -x gthread-dynamic ] 774s + foo=bar ./gthread-dynamic 774s + echorun (gthread, dynamic): OK 774s run (gthread, dynamic): OK 774s + rm -rf /tmp/tmp.7O69iHWtrE 774s + debian/tests/build-static 774s + mode=dynamic 774s + getopt -o --long static -n debian/tests/build -- --static 774s + getopt_temp= --static -- 774s + eval set -- --static -- 774s + set -- --static -- 774s + true 774s + mode=static 774s + shift 774s + continue 774s + true 774s + shift 774s + break 774s + mktemp -d 774s + WORKDIR=/tmp/tmp.P571TrmXHZ 774s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 774s + cd /tmp/tmp.P571TrmXHZ 774s + [ -n ] 774s + CROSS_COMPILE= 774s + cat 774s + cat 774s + cat 774s + cat 774s + cat 774s + cat 774s + cflags= 774s + pcflags= 774s + packages=glib-2.0 774s + cflags=-static 774s + pcflags=--static 774s + pkg-config --static --cflags --libs glib-2.0 774s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 774s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 774s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 774s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 774s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 774s build (glib, static): OK 774s + echo build (glib, static): OK 774s + [ -x glib-static ] 774s + foo=bar ./glib-static 774s + echo run (glib, static): OK 774s + cflags= 774s + pcflags= 774s + packages=gobject-2.0 774s + cflags=-static 774s + pcflags=--static 774s + pkg-config --static --cflags --libs gobject-2.0 774s run (glib, static): OK 774s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 774s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 774s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 774s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 774s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 774s build (gobject, static): OK 774s run (gobject, static): OK 774s + echo build (gobject, static): OK 774s + [ -x gobject-static ] 774s + foo=bar ./gobject-static 774s + echo run (gobject, static): OK 774s + cflags= 774s + pcflags= 774s + packages=gio-2.0 774s + cflags=-static 774s + pcflags=--static 774s + continue 774s + cflags= 774s + pcflags= 774s + packages=gio-unix-2.0 774s + cflags=-static 774s + pcflags=--static 774s + continue 774s + cflags= 774s + pcflags= 774s + packages=gmodule-2.0 774s + cflags=-static 774s + pcflags=--static 774s + pkg-config --static --cflags --libs gmodule-2.0 774s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 775s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 775s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 775s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 775s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 775s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 775s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 775s build (gmodule, static): OK 775s + echo build (gmodule, static): OK 775s + [ -x gmodule-static ] 775s + foo=bar ./gmodule-static 775s + echo run (gmodule, static): OK 775s + cflags= 775s + pcflags= 775s + packages=gthread-2.0 775s + cflags=-static 775s + pcflags=--static 775s + pkg-config --static --cflags --libs gthread-2.0 775s run (gmodule, static): OK 775s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 775s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 775s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 775s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 775s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 775s build (gthread, static): OK 775s + echo build (gthread, static): OK 775s + [ -x gthread-static ] 775s + foo=bar ./gthread-static 775s + echo run (gthread, static): OK 775s + rm -rf /tmp/tmp.P571TrmXHZ 775s run (gthread, static): OK 775s + debian/tests/girepository-tools 775s + cd /tmp/autopkgtest.WcFGAy/autopkgtest_tmp 775s + dpkg-architecture -qDEB_HOST_GNU_TYPE 775s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 775s + dpkg-architecture -qDEB_HOST_MULTIARCH 775s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 775s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 775s typelib: GLib-2.0 775s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 775s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 775s + debian/tests/libgio-2.0-dev-bin 775s + gdbus-codegen --help 775s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 775s [--c-namespace NAMESPACE] [--c-generate-object-manager] 775s [--c-generate-autocleanup {none,objects,all}] 775s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 775s [--generate-rst OUTFILES] [--pragma-once] 775s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 775s [--glib-min-required VERSION] 775s [--glib-max-allowed VERSION] 775s [--symbol-decorator SYMBOL_DECORATOR] 775s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 775s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 775s [--generate-c-code OUTFILES | --header | --body | 775s --interface-info-header | --interface-info-body] 775s [--output FILE | --output-directory OUTDIR] 775s FILE [FILE ...] 775s 775s D-Bus code and documentation generator 775s 775s positional arguments: 775s FILE D-Bus introspection XML file 775s 775s options: 775s -h, --help show this help message and exit 775s --interface-prefix PREFIX 775s String to strip from D-Bus interface names for code 775s and docs 775s --c-namespace NAMESPACE 775s The namespace to use for generated C code 775s --c-generate-object-manager 775s Generate a GDBusObjectManagerClient subclass when 775s generating C code 775s --c-generate-autocleanup {none,objects,all} 775s Generate autocleanup support 775s --generate-docbook OUTFILES 775s Generate Docbook in OUTFILES-org.Project.IFace.xml 775s --generate-md OUTFILES 775s Generate Markdown in OUTFILES-org.Project.IFace.md 775s --generate-rst OUTFILES 775s Generate reStructuredText in OUTFILES- 775s org.Project.IFace.rst 775s --pragma-once Use "pragma once" as the inclusion guard 775s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 775s Add annotation (may be used several times) 775s --glib-min-required VERSION 775s Minimum version of GLib to be supported by the 775s outputted code (default: 2.30) 775s --glib-max-allowed VERSION 775s Maximum version of GLib to be used by the outputted 775s code (default: current GLib version) 775s --symbol-decorator SYMBOL_DECORATOR 775s Macro used to decorate a symbol in the outputted 775s header, possibly to export symbols 775s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 775s Additional header required for decorator specified by 775s --symbol-decorator 775s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 775s Additional define required for decorator specified by 775s --symbol-decorator 775s --generate-c-code OUTFILES 775s Generate C code in OUTFILES.[ch] 775s --header Generate C headers 775s --body Generate C code 775s --interface-info-header 775s Generate GDBusInterfaceInfo C header 775s --interface-info-body 775s Generate GDBusInterfaceInfo C code 775s --output FILE Write output into the specified file 775s --output-directory OUTDIR 775s Location to output generated files 775s + glib-compile-resources --version 775s + glib-genmarshal --version 775s 2.83.3 775s glib-genmarshal version 2.83.3 775s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 775s You may redistribute copies of glib-genmarshal under the terms of 775s the GNU General Public License which can be found in the 775s GLib source package. Sources, examples and contact 775s information are available at http://www.gtk.org 775s + glib-gettextize --version 775s /usr/bin/glib-gettextize (GNU glib) 2.83.3 775s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 775s This is free software; see the source for copying conditions. There is NO 775s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 775s Written by Ulrich Drepper 775s + glib-mkenums --version 775s glib-mkenums version 2.83.3 775s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 775s You may redistribute copies of glib-mkenums under the terms of 775s the GNU General Public License which can be found in the 775s GLib source package. Sources, examples and contact 775s information are available at http://www.gtk.org 775s + gobject-query tree 775s + gtester --version 775s GObject 775s + gtester-report --version 775s gtester version 2.83.3 775s gtester-report (GLib utils) version 2.83.3. 775s + cd /tmp/autopkgtest.WcFGAy/autopkgtest_tmp 775s + dpkg-architecture -qDEB_HOST_MULTIARCH 775s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 775s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 775s typelib: GLib-2.0 775s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 775s + gi-decompile-typelib -o GLib.gir GLib.typelib 776s autopkgtest [21:51:04]: test libglib2.0-dev: -----------------------] 776s autopkgtest [21:51:04]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 776s libglib2.0-dev PASS (superficial) 777s autopkgtest [21:51:05]: test installed-tests: preparing testbed 863s autopkgtest [21:52:31]: testbed dpkg architecture: arm64 863s autopkgtest [21:52:31]: testbed apt version: 2.9.30ubuntu1 863s autopkgtest [21:52:31]: @@@@@@@@@@@@@@@@@@@@ test bed setup 864s autopkgtest [21:52:32]: testbed release detected to be: plucky 864s autopkgtest [21:52:32]: updating testbed package index (apt update) 865s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 865s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 865s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 865s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 865s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [708 kB] 865s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 865s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 865s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [85.6 kB] 865s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [128 kB] 865s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [7960 B] 865s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [665 kB] 865s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.7 kB] 866s Fetched 1733 kB in 1s (1866 kB/s) 866s Reading package lists... 867s + lsb_release --codename --short 867s + RELEASE=plucky 867s + cat 867s + [ plucky != trusty ] 867s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 867s Reading package lists... 867s Building dependency tree... 867s Reading state information... 868s Calculating upgrade... 868s Calculating upgrade... 868s The following packages will be upgraded: 868s apparmor base-files cloud-init cloud-init-base gcc-14-base libapparmor1 868s libgnutls30t64 liblsof0 libnss3 lsof motd-news-config ucf 869s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 869s Need to get 4207 kB of archives. 869s After this operation, 22.5 kB of additional disk space will be used. 869s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 motd-news-config all 13.6ubuntu1 [5168 B] 869s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 base-files arm64 13.6ubuntu1 [75.6 kB] 869s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-base arm64 14.2.0-17ubuntu3 [53.6 kB] 869s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libapparmor1 arm64 4.1.0~beta5-0ubuntu5 [53.7 kB] 869s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libgnutls30t64 arm64 3.8.9-2ubuntu2 [962 kB] 869s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 ucf all 3.0050 [43.5 kB] 870s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 apparmor arm64 4.1.0~beta5-0ubuntu5 [660 kB] 870s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 lsof arm64 4.99.4+dfsg-2 [236 kB] 870s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsof0 arm64 4.99.4+dfsg-2 [54.0 kB] 870s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init-base all 25.1-0ubuntu1 [616 kB] 870s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libnss3 arm64 2:3.108-1ubuntu1 [1446 kB] 871s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init all 25.1-0ubuntu1 [2088 B] 871s Preconfiguring packages ... 871s Fetched 4207 kB in 2s (1933 kB/s) 871s (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 ... 116668 files and directories currently installed.) 871s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 871s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 871s Preparing to unpack .../base-files_13.6ubuntu1_arm64.deb ... 872s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 872s Setting up base-files (13.6ubuntu1) ... 872s Updating /root/.profile to current default. 872s motd-news.service is a disabled or a static unit not running, not starting it. 872s (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 ... 116668 files and directories currently installed.) 872s Preparing to unpack .../0-gcc-14-base_14.2.0-17ubuntu3_arm64.deb ... 872s Unpacking gcc-14-base:arm64 (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 872s Preparing to unpack .../1-libapparmor1_4.1.0~beta5-0ubuntu5_arm64.deb ... 872s Unpacking libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 872s Preparing to unpack .../2-libgnutls30t64_3.8.9-2ubuntu2_arm64.deb ... 872s Unpacking libgnutls30t64:arm64 (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ... 873s Preparing to unpack .../3-ucf_3.0050_all.deb ... 873s Unpacking ucf (3.0050) over (3.0049) ... 873s Preparing to unpack .../4-apparmor_4.1.0~beta5-0ubuntu5_arm64.deb ... 873s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 874s Preparing to unpack .../5-lsof_4.99.4+dfsg-2_arm64.deb ... 874s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 874s Preparing to unpack .../6-liblsof0_4.99.4+dfsg-2_arm64.deb ... 874s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 874s Preparing to unpack .../7-cloud-init-base_25.1-0ubuntu1_all.deb ... 874s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 874s for fn in glob1(directory, "%s.*" % fname): 874s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 874s Preparing to unpack .../8-libnss3_2%3a3.108-1ubuntu1_arm64.deb ... 874s Unpacking libnss3:arm64 (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ... 874s Preparing to unpack .../9-cloud-init_25.1-0ubuntu1_all.deb ... 874s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 874s Setting up libgnutls30t64:arm64 (3.8.9-2ubuntu2) ... 874s Setting up motd-news-config (13.6ubuntu1) ... 874s Setting up libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) ... 874s Setting up gcc-14-base:arm64 (14.2.0-17ubuntu3) ... 874s Setting up liblsof0 (4.99.4+dfsg-2) ... 874s Setting up libnss3:arm64 (2:3.108-1ubuntu1) ... 874s Setting up cloud-init-base (25.1-0ubuntu1) ... 876s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 876s Installing new version of config file /etc/apparmor.d/fusermount3 ... 877s Reloading AppArmor profiles 878s Setting up ucf (3.0050) ... 878s Setting up lsof (4.99.4+dfsg-2) ... 878s Setting up cloud-init (25.1-0ubuntu1) ... 878s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ... 879s Processing triggers for systemd (257.2-3ubuntu1) ... 879s Processing triggers for man-db (2.13.0-1) ... 880s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 880s Processing triggers for install-info (7.1.1-1) ... 880s Processing triggers for libc-bin (2.40-4ubuntu1) ... 880s Processing triggers for initramfs-tools (0.145ubuntu2) ... 880s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 880s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 898s System running in EFI mode, skipping. 899s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 899s + /usr/lib/apt/apt-helper analyze-pattern ?true 899s + uname -r 899s + sed s/\./\\./g 899s + running_kernel_pattern=^linux-.*6\.12\.0-15-generic.* 899s + apt list ?obsolete 899s + tail -n+2 899s + cut -d/ -f1 899s + grep -v ^linux-.*6\.12\.0-15-generic.* 899s + true 899s + obsolete_pkgs= 899s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove 899s Reading package lists... 899s Building dependency tree... 899s Reading state information... 900s Solving dependencies... 900s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 900s + grep -q trusty /etc/lsb-release 900s + [ ! -d /usr/share/doc/unattended-upgrades ] 900s + [ ! -d /usr/share/doc/lxd ] 900s + [ ! -d /usr/share/doc/lxd-client ] 900s + [ ! -d /usr/share/doc/snapd ] 900s + type iptables 900s + cat 900s + chmod 755 /etc/rc.local 900s + . /etc/rc.local 900s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 900s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 900s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 900s + uname -m 900s + [ aarch64 = ppc64le ] 900s + [ -d /run/systemd/system ] 900s + systemd-detect-virt --quiet --vm 900s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 900s + cat 900s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 900s + echo COMPRESS=lz4 900s autopkgtest [21:53:08]: upgrading testbed (apt dist-upgrade and autopurge) 900s Reading package lists... 901s Building dependency tree... 901s Reading state information... 901s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 901s Starting 2 pkgProblemResolver with broken count: 0 901s Done 902s Entering ResolveByKeep 902s 902s Calculating upgrade... 903s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 903s Reading package lists... 903s Building dependency tree... 903s Reading state information... 904s Starting pkgProblemResolver with broken count: 0 904s Starting 2 pkgProblemResolver with broken count: 0 904s Done 904s Solving dependencies... 905s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 905s autopkgtest [21:53:13]: rebooting testbed after setup commands that affected boot 931s Reading package lists... 931s Building dependency tree... 931s Reading state information... 931s Starting pkgProblemResolver with broken count: 0 931s Starting 2 pkgProblemResolver with broken count: 0 931s Done 932s The following NEW packages will be installed: 932s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 932s libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin libgirepository-2.0-0 932s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 932s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 932s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 932s libxcb-present0 libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 932s libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 932s libxt6t64 libxxf86vm1 mesa-libgallium native-architecture python3-dbusmock 932s python3-packaging tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 932s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 932s Need to get 15.0 MB of archives. 932s After this operation, 82.5 MB of additional disk space will be used. 932s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 dbus-x11 arm64 1.16.0-1ubuntu1 [23.1 kB] 933s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 desktop-file-utils arm64 0.28-1 [53.6 kB] 933s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.5 [2082 B] 933s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.83.3-2 [73.2 kB] 933s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.83.3-2 [105 kB] 933s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 gnome-desktop-testing arm64 2021.1-4 [16.2 kB] 933s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm-radeon1 arm64 2.4.123-1 [20.8 kB] 933s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontenc1 arm64 1:1.1.8-1build1 [13.9 kB] 933s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-server0 arm64 1.23.1-3 [36.1 kB] 933s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libglapi-mesa arm64 24.3.4-3ubuntu1 [59.5 kB] 933s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libx11-xcb1 arm64 2:1.8.10-2 [8020 B] 933s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri3-0 arm64 1.17.0-2 [7606 B] 933s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-present0 arm64 1.17.0-2 [6224 B] 933s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-randr0 arm64 1.17.0-2 [18.5 kB] 933s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-sync1 arm64 1.17.0-2 [9688 B] 933s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-xfixes0 arm64 1.17.0-2 [10.6 kB] 933s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libxshmfence1 arm64 1.3-1build5 [4938 B] 933s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 mesa-libgallium arm64 24.3.4-3ubuntu1 [9301 kB] 935s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 libgbm1 arm64 24.3.4-3ubuntu1 [33.6 kB] 935s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 935s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.83.3-2 [129 kB] 935s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libvulkan1 arm64 1.4.304.0-1 [158 kB] 935s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1-mesa-dri arm64 24.3.4-3ubuntu1 [35.3 kB] 935s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-bin arm64 2.83.3-2 [98.2 kB] 935s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.83.3-2 [18.1 kB] 935s Get:26 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-dbusmock all 0.34.0-1 [92.2 kB] 935s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 tzdata-legacy all 2025a-2ubuntu1 [99.2 kB] 935s Get:28 http://ftpmaster.internal/ubuntu plucky/universe arm64 libglib2.0-tests arm64 2.83.3-2 [2116 kB] 935s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-glx0 arm64 1.17.0-2 [25.5 kB] 935s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 935s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libxxf86vm1 arm64 1:1.1.4-1build4 [9130 B] 935s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx-mesa0 arm64 24.3.4-3ubuntu1 [151 kB] 935s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 935s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libice6 arm64 2:1.1.1-1 [42.3 kB] 935s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 935s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libsm6 arm64 2:1.2.4-1 [16.4 kB] 935s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libxt6t64 arm64 1:1.2.1-1.2build1 [168 kB] 935s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libxmu6 arm64 2:1.1.3-3build2 [47.5 kB] 935s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 935s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libxaw7 arm64 2:1.0.16-1 [184 kB] 935s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfont2 arm64 1:2.0.6-1build1 [88.7 kB] 935s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libxkbfile1 arm64 1:1.1.0-1build4 [69.4 kB] 935s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 935s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrandr2 arm64 2:1.5.4-1 [19.6 kB] 935s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-xkb-utils arm64 7.7+9 [165 kB] 935s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 935s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libglvnd0 arm64 1.7.0-1build1 [60.6 kB] 935s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx0 arm64 1.7.0-1build1 [33.2 kB] 935s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1 arm64 1.7.0-1build1 [106 kB] 935s Get:50 http://ftpmaster.internal/ubuntu plucky/universe arm64 xvfb arm64 2:21.1.14-2ubuntu1 [868 kB] 936s Fetched 15.0 MB in 3s (4781 kB/s) 936s Selecting previously unselected package dbus-x11. 936s (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 ... 116669 files and directories currently installed.) 936s Preparing to unpack .../00-dbus-x11_1.16.0-1ubuntu1_arm64.deb ... 936s Unpacking dbus-x11 (1.16.0-1ubuntu1) ... 936s Selecting previously unselected package desktop-file-utils. 936s Preparing to unpack .../01-desktop-file-utils_0.28-1_arm64.deb ... 936s Unpacking desktop-file-utils (0.28-1) ... 936s Selecting previously unselected package native-architecture. 936s Preparing to unpack .../02-native-architecture_0.2.5_all.deb ... 936s Unpacking native-architecture (0.2.5) ... 936s Selecting previously unselected package libgirepository-2.0-0:arm64. 936s Preparing to unpack .../03-libgirepository-2.0-0_2.83.3-2_arm64.deb ... 936s Unpacking libgirepository-2.0-0:arm64 (2.83.3-2) ... 936s Selecting previously unselected package girepository-tools:arm64. 936s Preparing to unpack .../04-girepository-tools_2.83.3-2_arm64.deb ... 936s Unpacking girepository-tools:arm64 (2.83.3-2) ... 936s Selecting previously unselected package gnome-desktop-testing. 936s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_arm64.deb ... 936s Unpacking gnome-desktop-testing (2021.1-4) ... 936s Selecting previously unselected package libdrm-radeon1:arm64. 936s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_arm64.deb ... 936s Unpacking libdrm-radeon1:arm64 (2.4.123-1) ... 936s Selecting previously unselected package libfontenc1:arm64. 937s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_arm64.deb ... 937s Unpacking libfontenc1:arm64 (1:1.1.8-1build1) ... 937s Selecting previously unselected package libwayland-server0:arm64. 937s Preparing to unpack .../08-libwayland-server0_1.23.1-3_arm64.deb ... 937s Unpacking libwayland-server0:arm64 (1.23.1-3) ... 937s Selecting previously unselected package libglapi-mesa:arm64. 937s Preparing to unpack .../09-libglapi-mesa_24.3.4-3ubuntu1_arm64.deb ... 937s Unpacking libglapi-mesa:arm64 (24.3.4-3ubuntu1) ... 937s Selecting previously unselected package libx11-xcb1:arm64. 937s Preparing to unpack .../10-libx11-xcb1_2%3a1.8.10-2_arm64.deb ... 937s Unpacking libx11-xcb1:arm64 (2:1.8.10-2) ... 937s Selecting previously unselected package libxcb-dri3-0:arm64. 937s Preparing to unpack .../11-libxcb-dri3-0_1.17.0-2_arm64.deb ... 937s Unpacking libxcb-dri3-0:arm64 (1.17.0-2) ... 937s Selecting previously unselected package libxcb-present0:arm64. 937s Preparing to unpack .../12-libxcb-present0_1.17.0-2_arm64.deb ... 937s Unpacking libxcb-present0:arm64 (1.17.0-2) ... 937s Selecting previously unselected package libxcb-randr0:arm64. 937s Preparing to unpack .../13-libxcb-randr0_1.17.0-2_arm64.deb ... 937s Unpacking libxcb-randr0:arm64 (1.17.0-2) ... 937s Selecting previously unselected package libxcb-sync1:arm64. 937s Preparing to unpack .../14-libxcb-sync1_1.17.0-2_arm64.deb ... 937s Unpacking libxcb-sync1:arm64 (1.17.0-2) ... 937s Selecting previously unselected package libxcb-xfixes0:arm64. 937s Preparing to unpack .../15-libxcb-xfixes0_1.17.0-2_arm64.deb ... 937s Unpacking libxcb-xfixes0:arm64 (1.17.0-2) ... 937s Selecting previously unselected package libxshmfence1:arm64. 937s Preparing to unpack .../16-libxshmfence1_1.3-1build5_arm64.deb ... 937s Unpacking libxshmfence1:arm64 (1.3-1build5) ... 937s Selecting previously unselected package mesa-libgallium:arm64. 937s Preparing to unpack .../17-mesa-libgallium_24.3.4-3ubuntu1_arm64.deb ... 937s Unpacking mesa-libgallium:arm64 (24.3.4-3ubuntu1) ... 937s Selecting previously unselected package libgbm1:arm64. 937s Preparing to unpack .../18-libgbm1_24.3.4-3ubuntu1_arm64.deb ... 937s Unpacking libgbm1:arm64 (24.3.4-3ubuntu1) ... 937s Selecting previously unselected package python3-packaging. 937s Preparing to unpack .../19-python3-packaging_24.2-1_all.deb ... 937s Unpacking python3-packaging (24.2-1) ... 937s Selecting previously unselected package libgio-2.0-dev-bin. 937s Preparing to unpack .../20-libgio-2.0-dev-bin_2.83.3-2_arm64.deb ... 937s Unpacking libgio-2.0-dev-bin (2.83.3-2) ... 937s Selecting previously unselected package libvulkan1:arm64. 937s Preparing to unpack .../21-libvulkan1_1.4.304.0-1_arm64.deb ... 937s Unpacking libvulkan1:arm64 (1.4.304.0-1) ... 937s Selecting previously unselected package libgl1-mesa-dri:arm64. 937s Preparing to unpack .../22-libgl1-mesa-dri_24.3.4-3ubuntu1_arm64.deb ... 937s Unpacking libgl1-mesa-dri:arm64 (24.3.4-3ubuntu1) ... 937s Selecting previously unselected package libglib2.0-bin. 937s Preparing to unpack .../23-libglib2.0-bin_2.83.3-2_arm64.deb ... 937s Unpacking libglib2.0-bin (2.83.3-2) ... 937s Selecting previously unselected package libglib2.0-dev-bin. 937s Preparing to unpack .../24-libglib2.0-dev-bin_2.83.3-2_arm64.deb ... 937s Unpacking libglib2.0-dev-bin (2.83.3-2) ... 937s Selecting previously unselected package python3-dbusmock. 937s Preparing to unpack .../25-python3-dbusmock_0.34.0-1_all.deb ... 937s Unpacking python3-dbusmock (0.34.0-1) ... 938s Selecting previously unselected package tzdata-legacy. 938s Preparing to unpack .../26-tzdata-legacy_2025a-2ubuntu1_all.deb ... 938s Unpacking tzdata-legacy (2025a-2ubuntu1) ... 938s Selecting previously unselected package libglib2.0-tests. 938s Preparing to unpack .../27-libglib2.0-tests_2.83.3-2_arm64.deb ... 938s Unpacking libglib2.0-tests (2.83.3-2) ... 938s Selecting previously unselected package libxcb-glx0:arm64. 938s Preparing to unpack .../28-libxcb-glx0_1.17.0-2_arm64.deb ... 938s Unpacking libxcb-glx0:arm64 (1.17.0-2) ... 938s Selecting previously unselected package libxcb-shm0:arm64. 938s Preparing to unpack .../29-libxcb-shm0_1.17.0-2_arm64.deb ... 938s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 938s Selecting previously unselected package libxxf86vm1:arm64. 938s Preparing to unpack .../30-libxxf86vm1_1%3a1.1.4-1build4_arm64.deb ... 938s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build4) ... 938s Selecting previously unselected package libglx-mesa0:arm64. 938s Preparing to unpack .../31-libglx-mesa0_24.3.4-3ubuntu1_arm64.deb ... 938s Unpacking libglx-mesa0:arm64 (24.3.4-3ubuntu1) ... 938s Selecting previously unselected package x11-common. 938s Preparing to unpack .../32-x11-common_1%3a7.7+23ubuntu3_all.deb ... 938s Unpacking x11-common (1:7.7+23ubuntu3) ... 938s Selecting previously unselected package libice6:arm64. 938s Preparing to unpack .../33-libice6_2%3a1.1.1-1_arm64.deb ... 938s Unpacking libice6:arm64 (2:1.1.1-1) ... 938s Selecting previously unselected package libpixman-1-0:arm64. 938s Preparing to unpack .../34-libpixman-1-0_0.44.0-3_arm64.deb ... 938s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 938s Selecting previously unselected package libsm6:arm64. 938s Preparing to unpack .../35-libsm6_2%3a1.2.4-1_arm64.deb ... 938s Unpacking libsm6:arm64 (2:1.2.4-1) ... 938s Selecting previously unselected package libxt6t64:arm64. 938s Preparing to unpack .../36-libxt6t64_1%3a1.2.1-1.2build1_arm64.deb ... 938s Unpacking libxt6t64:arm64 (1:1.2.1-1.2build1) ... 938s Selecting previously unselected package libxmu6:arm64. 938s Preparing to unpack .../37-libxmu6_2%3a1.1.3-3build2_arm64.deb ... 938s Unpacking libxmu6:arm64 (2:1.1.3-3build2) ... 938s Selecting previously unselected package libxpm4:arm64. 938s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 938s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 938s Selecting previously unselected package libxaw7:arm64. 938s Preparing to unpack .../39-libxaw7_2%3a1.0.16-1_arm64.deb ... 938s Unpacking libxaw7:arm64 (2:1.0.16-1) ... 938s Selecting previously unselected package libxfont2:arm64. 938s Preparing to unpack .../40-libxfont2_1%3a2.0.6-1build1_arm64.deb ... 938s Unpacking libxfont2:arm64 (1:2.0.6-1build1) ... 938s Selecting previously unselected package libxkbfile1:arm64. 938s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build4_arm64.deb ... 938s Unpacking libxkbfile1:arm64 (1:1.1.0-1build4) ... 938s Selecting previously unselected package libxrender1:arm64. 938s Preparing to unpack .../42-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 938s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 938s Selecting previously unselected package libxrandr2:arm64. 938s Preparing to unpack .../43-libxrandr2_2%3a1.5.4-1_arm64.deb ... 938s Unpacking libxrandr2:arm64 (2:1.5.4-1) ... 939s Selecting previously unselected package x11-xkb-utils. 939s Preparing to unpack .../44-x11-xkb-utils_7.7+9_arm64.deb ... 939s Unpacking x11-xkb-utils (7.7+9) ... 939s Selecting previously unselected package xserver-common. 939s Preparing to unpack .../45-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 939s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 939s Selecting previously unselected package libglvnd0:arm64. 939s Preparing to unpack .../46-libglvnd0_1.7.0-1build1_arm64.deb ... 939s Unpacking libglvnd0:arm64 (1.7.0-1build1) ... 939s Selecting previously unselected package libglx0:arm64. 939s Preparing to unpack .../47-libglx0_1.7.0-1build1_arm64.deb ... 939s Unpacking libglx0:arm64 (1.7.0-1build1) ... 939s Selecting previously unselected package libgl1:arm64. 939s Preparing to unpack .../48-libgl1_1.7.0-1build1_arm64.deb ... 939s Unpacking libgl1:arm64 (1.7.0-1build1) ... 939s Selecting previously unselected package xvfb. 939s Preparing to unpack .../49-xvfb_2%3a21.1.14-2ubuntu1_arm64.deb ... 939s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 939s Setting up gnome-desktop-testing (2021.1-4) ... 939s Setting up libxcb-dri3-0:arm64 (1.17.0-2) ... 939s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 939s Setting up libwayland-server0:arm64 (1.23.1-3) ... 939s Setting up libx11-xcb1:arm64 (2:1.8.10-2) ... 939s Setting up native-architecture (0.2.5) ... 939s Setting up libxcb-xfixes0:arm64 (1.17.0-2) ... 939s Setting up desktop-file-utils (0.28-1) ... 939s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 939s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 939s Setting up libgirepository-2.0-0:arm64 (2.83.3-2) ... 939s Setting up libdrm-radeon1:arm64 (2.4.123-1) ... 939s Setting up libglvnd0:arm64 (1.7.0-1build1) ... 939s Setting up libxcb-glx0:arm64 (1.17.0-2) ... 939s Setting up x11-common (1:7.7+23ubuntu3) ... 939s Setting up libglib2.0-bin (2.83.3-2) ... 939s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 939s Setting up python3-dbusmock (0.34.0-1) ... 939s Setting up tzdata-legacy (2025a-2ubuntu1) ... 939s Setting up libxxf86vm1:arm64 (1:1.1.4-1build4) ... 939s Setting up libxcb-present0:arm64 (1.17.0-2) ... 939s Setting up libfontenc1:arm64 (1:1.1.8-1build1) ... 939s Setting up python3-packaging (24.2-1) ... 939s Setting up libxcb-sync1:arm64 (1.17.0-2) ... 939s Setting up libxrandr2:arm64 (2:1.5.4-1) ... 939s Setting up libglapi-mesa:arm64 (24.3.4-3ubuntu1) ... 939s Setting up libvulkan1:arm64 (1.4.304.0-1) ... 939s Setting up libxshmfence1:arm64 (1.3-1build5) ... 939s Setting up dbus-x11 (1.16.0-1ubuntu1) ... 939s Setting up libxcb-randr0:arm64 (1.17.0-2) ... 939s Setting up libxkbfile1:arm64 (1:1.1.0-1build4) ... 939s Setting up libxfont2:arm64 (1:2.0.6-1build1) ... 940s Setting up libice6:arm64 (2:1.1.1-1) ... 940s Setting up mesa-libgallium:arm64 (24.3.4-3ubuntu1) ... 940s Setting up libgio-2.0-dev-bin (2.83.3-2) ... 940s Setting up girepository-tools:arm64 (2.83.3-2) ... 940s Setting up libgbm1:arm64 (24.3.4-3ubuntu1) ... 940s Setting up libgl1-mesa-dri:arm64 (24.3.4-3ubuntu1) ... 940s Setting up libsm6:arm64 (2:1.2.4-1) ... 940s Setting up libglib2.0-dev-bin (2.83.3-2) ... 940s Setting up libglx-mesa0:arm64 (24.3.4-3ubuntu1) ... 940s Setting up libglx0:arm64 (1.7.0-1build1) ... 940s Setting up libgl1:arm64 (1.7.0-1build1) ... 940s Setting up libxt6t64:arm64 (1:1.2.1-1.2build1) ... 940s Setting up libglib2.0-tests (2.83.3-2) ... 940s Setting up libxmu6:arm64 (2:1.1.3-3build2) ... 940s Setting up libxaw7:arm64 (2:1.0.16-1) ... 940s Setting up x11-xkb-utils (7.7+9) ... 940s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 940s Setting up xvfb (2:21.1.14-2ubuntu1) ... 940s Processing triggers for man-db (2.13.0-1) ... 941s Processing triggers for libc-bin (2.40-4ubuntu1) ... 945s autopkgtest [21:53:53]: test installed-tests: [----------------------- 945s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 945s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 945s group entry: ubuntu:x:1000: 945s Environment: 945s ADTTMP=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp 945s ADT_ARTIFACTS=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts 945s ADT_TEST_TRIGGERS=build-essential/12.12 945s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts 945s AUTOPKGTEST_TESTBED_ARCH=arm64 945s AUTOPKGTEST_TEST_ARCH=arm64 945s AUTOPKGTEST_TMP=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp 945s DEBIAN_FRONTEND=noninteractive 945s DEB_BUILD_OPTIONS=parallel=2 945s GIO_USE_VFS=local 945s GIO_USE_VOLUME_MONITOR=unix 945s HOME=/home/ubuntu 945s LANG=C.UTF-8 945s LOGNAME=ubuntu 945s MAIL=/var/mail/ubuntu 945s OLDPWD=/home/ubuntu 945s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 945s PWD=/tmp/autopkgtest.WcFGAy/build.Jie/src 945s SHELL=/bin/bash 945s SHLVL=1 945s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests 945s SUDO_GID=1000 945s SUDO_UID=1000 945s SUDO_USER=ubuntu 945s TERM=linux 945s USER=ubuntu 945s XDG_RUNTIME_DIR=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp 945s http_proxy=http://squid.internal:3128 945s https_proxy=http://squid.internal:3128 945s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 945s run-with-locales: de_DE=ISO-8859-1... 945s Character set: ISO-8859-1 945s Source file: de_DE 945s Output: /tmp/tmp.OkGgQFLVAE/de_DE 946s run-with-locales: de_DE.utf8... 946s Character set: UTF-8 946s Source file: de_DE 946s Output: /tmp/tmp.OkGgQFLVAE/de_DE.utf8 948s run-with-locales: de_DE@euro.utf8... 948s Character set: UTF-8 948s Source file: de_DE@euro 948s Output: /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8 950s run-with-locales: el_GR.utf8... 950s Character set: UTF-8 950s Source file: el_GR 950s Output: /tmp/tmp.OkGgQFLVAE/el_GR.utf8 952s run-with-locales: en_GB=ISO-8859-1... 952s Character set: ISO-8859-1 952s Source file: en_GB 952s Output: /tmp/tmp.OkGgQFLVAE/en_GB 952s run-with-locales: en_GB.utf8... 952s Character set: UTF-8 952s Source file: en_GB 952s Output: /tmp/tmp.OkGgQFLVAE/en_GB.utf8 954s run-with-locales: en_US=ISO-8859-1... 954s Character set: ISO-8859-1 954s Source file: en_US 954s Output: /tmp/tmp.OkGgQFLVAE/en_US 955s run-with-locales: en_US.utf8... 955s Character set: UTF-8 955s Source file: en_US 955s Output: /tmp/tmp.OkGgQFLVAE/en_US.utf8 956s run-with-locales: es_ES.utf8... 956s Character set: UTF-8 956s Source file: es_ES 956s Output: /tmp/tmp.OkGgQFLVAE/es_ES.utf8 958s run-with-locales: fa_IR=UTF-8... 958s Character set: UTF-8 958s Source file: fa_IR 958s Output: /tmp/tmp.OkGgQFLVAE/fa_IR 960s run-with-locales: fa_IR.utf8... 960s Character set: UTF-8 960s Source file: fa_IR 960s Output: /tmp/tmp.OkGgQFLVAE/fa_IR.utf8 962s run-with-locales: fr_FR.utf8... 962s Character set: UTF-8 962s Source file: fr_FR 962s Output: /tmp/tmp.OkGgQFLVAE/fr_FR.utf8 964s run-with-locales: hr_HR.utf8... 964s Character set: UTF-8 964s Source file: hr_HR 964s Output: /tmp/tmp.OkGgQFLVAE/hr_HR.utf8 966s run-with-locales: ja_JP.utf8... 966s Character set: UTF-8 966s Source file: ja_JP 966s Output: /tmp/tmp.OkGgQFLVAE/ja_JP.utf8 967s run-with-locales: ja_JP.EUC-JP... 967s Character set: EUC-JP 967s Source file: ja_JP 967s Output: /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp 967s run-with-locales: lt_LT.utf8... 967s Character set: UTF-8 967s Source file: lt_LT 967s Output: /tmp/tmp.OkGgQFLVAE/lt_LT.utf8 970s run-with-locales: pl_PL=ISO-8859-2... 970s Character set: ISO-8859-2 970s Source file: pl_PL 970s Output: /tmp/tmp.OkGgQFLVAE/pl_PL 970s run-with-locales: pl_PL.ISO-8859-2... 970s Character set: ISO-8859-2 970s Source file: pl_PL 970s Output: /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592 970s run-with-locales: pl_PL.utf8... 970s Character set: UTF-8 970s Source file: pl_PL 970s Output: /tmp/tmp.OkGgQFLVAE/pl_PL.utf8 972s run-with-locales: ru_RU=ISO-8859-5... 972s Character set: ISO-8859-5 972s Source file: ru_RU 972s Output: /tmp/tmp.OkGgQFLVAE/ru_RU 973s run-with-locales: ru_RU.utf8... 973s Character set: UTF-8 973s Source file: ru_RU 973s Output: /tmp/tmp.OkGgQFLVAE/ru_RU.utf8 975s run-with-locales: sr_RS=UTF-8... 975s Character set: UTF-8 975s Source file: sr_RS 975s Output: /tmp/tmp.OkGgQFLVAE/sr_RS 977s run-with-locales: sr_RS@latin=UTF-8... 977s Character set: UTF-8 977s Source file: sr_RS@latin 977s Output: /tmp/tmp.OkGgQFLVAE/sr_RS@latin 978s run-with-locales: sv_SE=ISO-8859-1... 978s Character set: ISO-8859-1 978s Source file: sv_SE 978s Output: /tmp/tmp.OkGgQFLVAE/sv_SE 979s run-with-locales: sv_SE.utf8... 979s Character set: UTF-8 979s Source file: sv_SE 979s Output: /tmp/tmp.OkGgQFLVAE/sv_SE.utf8 981s run-with-locales: tr_TR=ISO-8859-9... 981s Character set: ISO-8859-9 981s Source file: tr_TR 981s Output: /tmp/tmp.OkGgQFLVAE/tr_TR 981s run-with-locales: tr_TR.utf8... 981s Character set: UTF-8 981s Source file: tr_TR 981s Output: /tmp/tmp.OkGgQFLVAE/tr_TR.utf8 983s run-with-locales: tt_RU=UTF-8... 983s Character set: UTF-8 983s Source file: tt_RU 983s Output: /tmp/tmp.OkGgQFLVAE/tt_RU 985s run-with-locales: tt_RU.utf8... 985s Character set: UTF-8 985s Source file: tt_RU 985s Output: /tmp/tmp.OkGgQFLVAE/tt_RU.utf8 987s run-with-locales: tt_RU@iqtelif=UTF-8... 987s Character set: UTF-8 987s Source file: tt_RU@iqtelif 987s Output: /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif 989s /tmp/tmp.OkGgQFLVAE 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/ru_RU.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/tt_RU 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/tt_RU/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/de_DE 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/de_DE/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/pl_PL.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/en_US.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/ru_RU 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/ru_RU/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/tr_TR.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/pl_PL.iso88592/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/en_GB.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/tt_RU.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/hr_HR.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/es_ES.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/en_US 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/en_US/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/fa_IR.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/lt_LT.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/tt_RU@iqtelif/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/el_GR.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/de_DE@euro.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/sr_RS@latin/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/en_GB 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/en_GB/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/tr_TR 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/tr_TR/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/fr_FR.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/ja_JP.eucjp/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/fa_IR 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/fa_IR/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/pl_PL 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/pl_PL/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/ja_JP.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/sv_SE.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/de_DE.utf8/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/sr_RS 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/sr_RS/LC_TELEPHONE 989s /tmp/tmp.OkGgQFLVAE/sv_SE 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_MEASUREMENT 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_CTYPE 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_ADDRESS 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_MONETARY 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_NUMERIC 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_COLLATE 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_NAME 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_IDENTIFICATION 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_PAPER 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_TIME 989s /tmp/tmp.OkGgQFLVAE/sv_SE/LC_TELEPHONE 989s 1..321 989s # Running test: glib/gobject-query.py.test 989s TAP version 13 989s ok 1 __main__.TestGobjectQuery.test_froots 989s # gobject-query: /usr/bin/gobject-query 989s # Running: ['/usr/bin/gobject-query', 'froots'] 989s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: ├void 989s # ├GInterface 989s # │ â””GTypePlugin 989s # ├gchar 989s # ├guchar 989s # ├gboolean 989s # ├gint 989s # ├guint 989s # ├glong 989s # ├gulong 989s # ├gint64 989s # ├guint64 989s # ├GEnum 989s # ├GFlags 989s # ├gfloat 989s # ├gdouble 989s # ├gchararray 989s # ├gpointer 989s # │ â””GType 989s # ├GBoxed 989s # │ â””GValueArray 989s # ├GParam 989s # │ ├GParamChar 989s # │ ├GParamUChar 989s # │ ├GParamBoolean 989s # │ ├GParamInt 989s # │ ├GParamUInt 989s # │ ├GParamLong 989s # │ ├GParamULong 989s # │ ├GParamInt64 989s # │ ├GParamUInt64 989s # │ ├GParamUnichar 989s # │ ├GParamEnum 989s # │ ├GParamFlags 989s # │ ├GParamFloat 989s # │ ├GParamDouble 989s # │ ├GParamString 989s # │ ├GParamParam 989s # │ ├GParamBoxed 989s # │ ├GParamPointer 989s # │ ├GParamValueArray 989s # │ ├GParamObject 989s # │ ├GParamOverride 989s # │ ├GParamGType 989s # │ â””GParamVariant 989s # ├GObject 989s # â””GVariant 989s ok 2 __main__.TestGobjectQuery.test_help 989s # gobject-query: /usr/bin/gobject-query 989s # Running: ['/usr/bin/gobject-query', '--help'] 989s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 989s # -r specify root type 989s # -n don't descend type tree 989s # -h show help 989s # -b specify indent string 989s # -i specify incremental indent string 989s # -s specify line spacing 989s # qualifiers: 989s # froots iterate over fundamental roots 989s # tree print type tree 989s ok 3 __main__.TestGobjectQuery.test_tree 989s # gobject-query: /usr/bin/gobject-query 989s # Running: ['/usr/bin/gobject-query', 'tree'] 989s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: GObject 989s ok 4 __main__.TestGobjectQuery.test_version 989s # gobject-query: /usr/bin/gobject-query 989s # Running: ['/usr/bin/gobject-query', '--version'] 989s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: 2.83.3 989s 1..4 989s ok - glib/gobject-query.py.test 989s # Running test: glib/type.test 989s TAP version 14 989s # random seed: R02Sa0b705859be83e7e97626d16ded47389 989s 1..6 989s # Start of type tests 989s ok 1 /type/registration-serial 989s ok 2 /type/interface-prerequisite 989s ok 3 /type/interface-check 989s ok 4 /type/next-base 989s ok 5 /type/is-a 989s # Invalid types can?t be queried. 989s # Unclassed types can?t be queried. 989s ok 6 /type/query 989s # End of type tests 989s ok - glib/type.test 989s # Running test: glib/permission.test 989s TAP version 14 989s # random seed: R02Sfa37becb64ff62ccf9ad4762ef3ee164 989s 1..1 989s # Start of permission tests 989s ok 1 /permission/simple 989s # End of permission tests 989s ok - glib/permission.test 989s # Running test: glib/properties-refcount2.test 989s TAP version 14 989s # random seed: R02S4b4e6aa1a1b049f470254768c05d11ac 989s 1..1 989s # Start of gobject tests 989s # Start of refcount tests 989s # init 0xaabc73ebf780 989s # 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # dispose 0xaabc73ebf780! 990s # 990s ok 1 /gobject/refcount/properties-2 990s # slow test /gobject/refcount/properties-2 executed in 1.00 secs 990s # End of refcount tests 990s # End of gobject tests 990s ok - glib/properties-refcount2.test 990s # Running test: glib/collate.test 990s TAP version 14 990s # random seed: R02Sc087bfbb5df119e04082cdb25f1710ca 990s 1..9 990s # Start of unicode tests 990s # Start of collate tests 990s ok 1 /unicode/collate/0 990s ok 2 /unicode/collate/1 990s ok 3 /unicode/collate/2 990s # End of collate tests 990s # Start of collate-key tests 990s ok 4 /unicode/collate-key/0 990s ok 5 /unicode/collate-key/1 990s ok 6 /unicode/collate-key/2 990s # End of collate-key tests 990s # Start of collate-filename tests 990s ok 7 /unicode/collate-filename/0 990s ok 8 /unicode/collate-filename/1 990s ok 9 /unicode/collate-filename/2 990s # End of collate-filename tests 990s # End of unicode tests 990s ok - glib/collate.test 990s # Running test: glib/utils-isolated.test 990s TAP version 14 990s # random seed: R02Sc6f582070b87abddce5d00cb1ca6b393 990s 1..11 990s # Start of utils-isolated tests 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/tmp-dir/.dirs/runtime 990s ok 1 /utils-isolated/tmp-dir 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/home-dir/.dirs/runtime 990s ok 2 /utils-isolated/home-dir 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-cache-dir/.dirs/runtime 990s ok 3 /utils-isolated/user-cache-dir 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-config-dirs/.dirs/runtime 990s ok 4 /utils-isolated/system-config-dirs 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-config-dir/.dirs/runtime 990s ok 5 /utils-isolated/user-config-dir 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/system-data-dirs/.dirs/runtime 990s ok 6 /utils-isolated/system-data-dirs 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-data-dir/.dirs/runtime 990s ok 7 /utils-isolated/user-data-dir 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-state-dir/.dirs/runtime 990s ok 8 /utils-isolated/user-state-dir 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/user-runtime-dir/.dirs/runtime 990s ok 9 /utils-isolated/user-runtime-dir 990s # Start of cleanup tests 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/runtime 990s Unable to clean up temporary directory /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 990s Unable to clean up temporary directory /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 990s Unable to clean up temporary directory /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/handles-errors: Directory not empty 990s ok 10 /utils-isolated/cleanup/handles-errors 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 990s Unable to clean up temporary directory /tmp/test_utils-isolated_U6QF22/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 990s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 990s # End of cleanup tests 990s # End of utils-isolated tests 990s ok - glib/utils-isolated.test 990s # Running test: glib/application-command-line.test 990s TAP version 14 990s # random seed: R02Sbe031b0837f71df379985b49b66b0130 990s 1..1 990s # Start of application-command-line tests 990s ok 1 /application-command-line/basic-properties 990s # End of application-command-line tests 990s ok - glib/application-command-line.test 990s # Running test: glib/unix.test 990s TAP version 14 990s # random seed: R02Sc34eefc1da9b845497b8ab3f40c03b1e 990s 1..20 990s # Start of glib-unix tests 990s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 990s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 990s ok 1 /glib-unix/closefrom 990s ok 2 /glib-unix/pipe 990s # /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 990s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 990s ok 3 /glib-unix/pipe-stdio-overwrite 990s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 990s ok 4 /glib-unix/pipe-struct 990s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 990s ok 5 /glib-unix/pipe-struct-auto 990s ok 6 /glib-unix/error 990s ok 7 /glib-unix/nonblocking 990s ok 8 /glib-unix/sighup 990s # slow test /glib-unix/sighup executed in 0.50 secs 991s ok 9 /glib-unix/sigterm 991s # slow test /glib-unix/sigterm executed in 0.50 secs 991s ok 10 /glib-unix/sighup_again 991s # slow test /glib-unix/sighup_again executed in 0.50 secs 991s ok 11 /glib-unix/sighup_add_remove 991s ok 12 /glib-unix/sighup_nested 993s ok 13 /glib-unix/callback_after_signal 993s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 993s ok 14 /glib-unix/child-wait 993s # Start of closefrom tests 993s # Start of subprocess tests 993s # End of subprocess tests 993s # End of closefrom tests 993s # Start of pipe tests 993s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 993s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 993s ok 15 /glib-unix/pipe/fd-cloexec 993s # End of pipe tests 993s # Start of sighup tests 994s ok 16 /glib-unix/sighup/alternate-stack 994s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 994s # End of sighup tests 994s # Start of sigterm tests 994s # Executing: glib/unix.test 995s ok 17 /glib-unix/sigterm/alternate-stack 995s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 995s # End of sigterm tests 995s # Start of sighup_again tests 996s ok 18 /glib-unix/sighup_again/alternate-stack 996s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 996s # End of sighup_again tests 996s # Start of get-passwd-entry tests 996s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 996s ok 19 /glib-unix/get-passwd-entry/root 996s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 996s ok 20 /glib-unix/get-passwd-entry/nonexistent 996s # End of get-passwd-entry tests 996s # End of glib-unix tests 996s ok - glib/unix.test 996s # Running test: glib/protocol.test 996s TAP version 14 996s # random seed: R02S62bc56f7e060a7b3a5b1cab5dd372c46 996s 1..9 996s # Start of glib tests 996s # Start of testing tests 996s # Start of protocol tests 996s ok 1 /glib/testing/protocol/debug 996s ok 2 /glib/testing/protocol/info 996s ok 3 /glib/testing/protocol/message 996s ok 4 /glib/testing/protocol/warning 996s ok 5 /glib/testing/protocol/critical 996s ok 6 /glib/testing/protocol/error 996s ok 7 /glib/testing/protocol/gtest-message 996s ok 8 /glib/testing/protocol/test-message 996s ok 9 /glib/testing/protocol/test-error 996s # End of protocol tests 996s # End of testing tests 996s # End of glib tests 996s ok - glib/protocol.test 996s # Running test: glib/socket-address.test 996s TAP version 14 996s # random seed: R02Sf084533aa03f786adce625d4445a7db3 996s 1..2 996s # Start of socket tests 996s # Start of address tests 996s # Start of unix tests 996s ok 1 /socket/address/unix/construct 996s ok 2 /socket/address/unix/to-string 996s # End of unix tests 996s # End of address tests 996s # End of socket tests 996s ok - glib/socket-address.test 996s # Running test: glib/throws.test 996s TAP version 14 996s # random seed: R02S26974476f1292b1f0abd370423e82ad9 996s 1..3 996s # Start of throws tests 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NPI512/throws/invoke-gerror/.dirs/runtime 996s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 996s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 996s ok 1 /throws/invoke-gerror 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NPI512/throws/vfunc-can-throw-gerror/.dirs/runtime 996s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 996s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 996s ok 2 /throws/vfunc-can-throw-gerror 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NPI512/throws/callback-can-throw-gerror/.dirs/runtime 996s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 996s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 996s ok 3 /throws/callback-can-throw-gerror 996s # End of throws tests 996s ok - glib/throws.test 996s # Running test: glib/performance-threaded.test 996s Running test "liststore-is-a" 997s 16155 runs, min/avg/max = 0.059/0.062/0.301 ms 997s Running test "liststore-interface-peek" 998s 29060 runs, min/avg/max = 0.033/0.034/0.803 ms 998s Running test "liststore-interface-peek-same" 999s # Executing: glib/performance-threaded.test 999s 29364 runs, min/avg/max = 0.032/0.034/0.495 ms 999s ok - glib/performance-threaded.test 999s # Running test: glib/slist.test 999s TAP version 14 999s # random seed: R02S901f7bb76ad782b92636c298426aa5ec 999s 1..14 999s # Start of slist tests 999s ok 1 /slist/sort 999s ok 2 /slist/sort-with-data 999s ok 3 /slist/insert-sorted 999s ok 4 /slist/insert-sorted-with-data 999s ok 5 /slist/reverse 999s ok 6 /slist/nth 999s ok 7 /slist/remove 999s ok 8 /slist/remove-all 999s ok 9 /slist/insert 999s ok 10 /slist/position 999s ok 11 /slist/concat 999s ok 12 /slist/copy 999s # Start of sort tests 999s ok 13 /slist/sort/stable 999s # End of sort tests 999s # Start of copy tests 999s ok 14 /slist/copy/deep 999s # End of copy tests 999s # End of slist tests 999s ok - glib/slist.test 999s # Running test: glib/refstring.test 999s TAP version 14 999s # random seed: R02S0e1184c737b9f890a0a1e7c645082c57 999s 1..8 999s # Start of refstring tests 999s # s = 'hello, world' (0xbead26b543b0) 999s ok 1 /refstring/base 999s ok 2 /refstring/length 999s ok 3 /refstring/length-auto 999s ok 4 /refstring/length-nuls 999s # s = 'hello, world' (0xbead26b54300) 999s # p = s = 'hello, world' (0xbead26b54300) 999s # releasing p[0xbead26b54300] ('hello, world') 999s # p = 'goodbye, world' (0xbead26b543b0) 999s # releasing p[0xbead26b543b0] ('goodbye, world') 999s # releasing s[0xbead26b54300] ('hello, world') 999s ok 5 /refstring/intern 999s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 999s ok 6 /refstring/hash_equal 999s # /refstring/equal summary: Test g_ref_string_equal() standalone 999s ok 7 /refstring/equal 1000s ok 8 /refstring/intern-thread-safety 1000s # slow test /refstring/intern-thread-safety executed in 0.85 secs 1000s # End of refstring tests 1000s ok - glib/refstring.test 1000s # Running test: glib/642026-ec.test 1000s TAP version 14 1000s # random seed: R02S71a66b1b9798d10b416aecafc838afac 1000s 1..1 1000s # Start of glib tests 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1000s ok 1 /glib/642026 1000s # End of glib tests 1000s ok - glib/642026-ec.test 1000s # Running test: glib/vfs.test 1000s TAP version 14 1000s # random seed: R02S06e28ace356a1e579f3bbc74718d24eb 1000s 1..3 1000s # Start of gvfs tests 1000s ok 1 /gvfs/local 1000s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1000s ok 2 /gvfs/register-scheme 1000s # Start of resource tests 1000s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1000s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1000s ok 3 /gvfs/resource/malformed-escaping 1000s # End of resource tests 1000s # End of gvfs tests 1000s ok - glib/vfs.test 1000s # Running test: glib/io-channel.test 1000s TAP version 14 1000s # random seed: R02Sdf83f048550c690351379f2ec147c3db 1000s 1..2 1000s # Start of io-channel tests 1000s # Line one 1000s # 1000s # Line two 1000s # 1000s # Line three 1000s # 1000s # /* Hello */ 1000s # 1000s # \x1234\x567890\x6666 1000s # 1000s # read 62 bytes, wrote 62 bytes 1000s ok 1 /io-channel/read-write 1000s # Start of read-line tests 1000s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1000s ok 2 /io-channel/read-line/embedded-nuls 1000s # End of read-line tests 1000s # End of io-channel tests 1000s ok - glib/io-channel.test 1000s # Running test: glib/base64.test 1000s TAP version 14 1000s # random seed: R02S0c73810b15e7bdf9f4c31ff9eae08889 1000s 1..28 1000s # Start of base64 tests 1000s ok 1 /base64/encode 1000s ok 2 /base64/decode 1000s ok 3 /base64/decode-inplace 1000s ok 4 /base64/encode-decode 1000s # Start of full tests 1000s ok 5 /base64/full/1 1000s ok 6 /base64/full/2 1000s ok 7 /base64/full/3 1000s ok 8 /base64/full/4 1000s # End of full tests 1000s # Start of encode tests 1000s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1000s ok 9 /base64/encode/empty 1000s # Start of incremental tests 1000s # Start of small-block tests 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1000s ok 10 /base64/encode/incremental/small-block/1 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1000s ok 11 /base64/encode/incremental/small-block/2 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1000s ok 12 /base64/encode/incremental/small-block/3 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1000s ok 13 /base64/encode/incremental/small-block/4 1000s # End of small-block tests 1000s # End of incremental tests 1000s # End of encode tests 1000s # Start of incremental tests 1000s # Start of nobreak tests 1000s ok 14 /base64/incremental/nobreak/1 1000s ok 15 /base64/incremental/nobreak/2 1000s ok 16 /base64/incremental/nobreak/3 1000s ok 17 /base64/incremental/nobreak/4-a 1000s ok 18 /base64/incremental/nobreak/4-b 1000s ok 19 /base64/incremental/nobreak/4-c 1000s # End of nobreak tests 1000s # Start of break tests 1000s ok 20 /base64/incremental/break/1 1000s ok 21 /base64/incremental/break/2 1000s ok 22 /base64/incremental/break/3 1000s # End of break tests 1000s # Start of smallblock tests 1000s ok 23 /base64/incremental/smallblock/1 1000s ok 24 /base64/incremental/smallblock/2 1000s ok 25 /base64/incremental/smallblock/3 1000s ok 26 /base64/incremental/smallblock/4 1000s # End of smallblock tests 1000s # End of incremental tests 1000s # Start of decode tests 1000s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1000s ok 27 /base64/decode/empty 1000s # End of decode tests 1000s # Start of encode-decode tests 1000s # Vector 0: 1000s # Vector 1: f 1000s # Vector 2: fo 1000s # Vector 3: foo 1000s # Vector 4: foob 1000s # Vector 5: fooba 1000s # Vector 6: foobar 1000s ok 28 /base64/encode-decode/rfc4648 1000s # End of encode-decode tests 1000s # End of base64 tests 1000s ok - glib/base64.test 1000s # Running test: glib/utils-c-99.test 1000s TAP version 14 1000s # random seed: R02S57a16eebf4e4a7118a78ff0d43ea9ca0 1000s 1..41 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 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 ok 36 /utils/steal-handle-id 1000s # Start of specialdir tests 1000s ok 37 /utils/specialdir/desktop 1000s # End of specialdir tests 1000s # Start of clear-pointer tests 1000s ok 38 /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 39 /utils/aligned-mem/alignment 1000s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1000s ok 40 /utils/aligned-mem/zeroed 1000s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1000s ok 41 /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 ok - glib/utils-c-99.test 1000s # Running test: glib/sleepy-stream.test 1000s TAP version 14 1000s # random seed: R02S891a5dfe19dcf4756a461ac30b95ec44 1000s 1..2 1000s # Start of filter-stream tests 1000s ok 1 /filter-stream/input 1000s ok 2 /filter-stream/async 1000s # End of filter-stream tests 1000s ok - glib/sleepy-stream.test 1000s # Running test: glib/mimeapps.test 1000s TAP version 14 1000s # random seed: R02S4a55a0fb532e7cb6b3c4d29627153f53 1000s 1..7 1000s # Start of appinfo tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XBV712/appinfo/all/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XBV712/appinfo/all/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XBV712/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XBV712/appinfo/all/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XBV712/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XBV712/appinfo/all/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XBV712/appinfo/all/.dirs/runtime 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/system-data1/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data/applications/myapp.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data/applications/myapp2.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data/applications/myapp3.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data/applications/myapp4.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data/applications/myapp5.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1000s # removing '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1000s ok 1 /appinfo/all 1000s # Start of mime tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/runtime 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/system-data1/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1000s # removing '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/config 1000s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XBV712/appinfo/all/.dirs/config to /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/config 1000s ok 2 /appinfo/mime/api 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/runtime 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/system-data1/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1000s # removing '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/config 1000s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XBV712/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/config 1000s ok 3 /appinfo/mime/default 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/runtime 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/system-data1/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1000s # removing '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/config 1000s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XBV712/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/config 1000s ok 4 /appinfo/mime/file 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/runtime 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1000s # removing '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1000s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XBV712/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/config 1000s ok 5 /appinfo/mime/scheme-handler 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/runtime 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1000s # removing '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/config 1000s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XBV712/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/config 1000s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/config 1000s ok 6 /appinfo/mime/default-last-used 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/runtime 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1000s # removing '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1000s # creating '/tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1000s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_XBV712/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_XBV712/appinfo/mime/ignore-nonexisting/.dirs/config 1000s ok 7 /appinfo/mime/ignore-nonexisting 1000s # End of mime tests 1000s # End of appinfo tests 1000s ok - glib/mimeapps.test 1000s # Running test: glib/memory-monitor.test 1001s TAP version 14 1001s # random seed: R02S8ff1b16d15f9c19e7f3f8e981b7acd96 1001s 1..1 1001s # Start of memory-monitor tests 1001s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1001s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1001s ok 1 /memory-monitor/default 1001s # End of memory-monitor tests 1001s ok - glib/memory-monitor.test 1001s # Running test: glib/testfilemonitor.test 1001s TAP version 14 1001s # random seed: R02Sda67c1e6db6a11dc876f2bc118c83242 1001s 1..8 1001s # Start of monitor tests 1001s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1001s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1001s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1001s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1001s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1001s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1001s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1001s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1001s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1001s # Start of file tests 1001s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1001s # End of file tests 1001s # End of monitor tests 1001s ok - glib/testfilemonitor.test 1001s # Running test: glib/g-file-info.test 1001s TAP version 14 1001s # random seed: R02S06d7f405bc587c79860c1e77432b0bde 1001s 1..6 1001s # Start of g-file-info tests 1001s ok 1 /g-file-info/test_g_file_info 1001s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1001s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1001s ok 2 /g-file-info/xattrs 1001s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1001s ok 3 /g-file-info/set-modified-date-time-precision 1001s # Start of test_g_file_info tests 1001s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1001s ok 4 /g-file-info/test_g_file_info/modification-time 1001s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1001s ok 5 /g-file-info/test_g_file_info/access-time 1001s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1001s ok 6 /g-file-info/test_g_file_info/creation-time 1001s # End of test_g_file_info tests 1001s # End of g-file-info tests 1001s ok - glib/g-file-info.test 1001s # Running test: glib/module-test-library.test 1001s TAP version 14 1001s # random seed: R02S08b059ed2f9066946ad35f2d9af079a9 1001s 1..3 1001s # Start of module tests 1001s ok 1 /module/basics 1001s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1001s ok 2 /module/invalid-libtool-archive 1001s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1001s ok 3 /module/local-binding 1001s # End of module tests 1001s ok - glib/module-test-library.test 1001s # Running test: glib/bookmarkfile.test 1001s TAP version 14 1001s # random seed: R02S0f6c9dcbce88357bb3c24f1d5d965ebd 1001s 1..96 1001s # Start of bookmarks tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/load-from-data-dirs/.dirs/runtime 1001s ok 1 /bookmarks/load-from-data-dirs 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/to-file/.dirs/runtime 1001s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_O07B22/bookmarkfile-test-WS7B22.xbel 1001s # Roundtrip from a valid bookmark file 1001s ok 2 /bookmarks/to-file 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/move-item/.dirs/runtime 1001s ok 3 /bookmarks/move-item 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/corner-cases/.dirs/runtime 1001s ok 4 /bookmarks/corner-cases 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/misc/.dirs/runtime 1001s ok 5 /bookmarks/misc 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/deprecated/.dirs/runtime 1001s ok 6 /bookmarks/deprecated 1001s # Start of parse tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-36.xbel/.dirs/runtime 1001s ok 7 /bookmarks/parse/fail-36.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-42.xbel/.dirs/runtime 1001s ok 8 /bookmarks/parse/fail-42.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-38.xbel/.dirs/runtime 1001s ok 9 /bookmarks/parse/fail-38.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-18.xbel/.dirs/runtime 1001s ok 10 /bookmarks/parse/fail-18.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-09.xbel/.dirs/runtime 1001s ok 11 /bookmarks/parse/fail-09.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-20.xbel/.dirs/runtime 1001s ok 12 /bookmarks/parse/fail-20.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-19.xbel/.dirs/runtime 1001s ok 13 /bookmarks/parse/fail-19.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-12.xbel/.dirs/runtime 1001s ok 14 /bookmarks/parse/fail-12.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-16.xbel/.dirs/runtime 1001s ok 15 /bookmarks/parse/fail-16.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-03.xbel/.dirs/runtime 1001s ok 16 /bookmarks/parse/fail-03.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-22.xbel/.dirs/runtime 1001s ok 17 /bookmarks/parse/fail-22.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-27.xbel/.dirs/runtime 1001s ok 18 /bookmarks/parse/fail-27.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-39.xbel/.dirs/runtime 1001s ok 19 /bookmarks/parse/fail-39.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-41.xbel/.dirs/runtime 1001s ok 20 /bookmarks/parse/fail-41.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-35.xbel/.dirs/runtime 1001s ok 21 /bookmarks/parse/fail-35.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-30.xbel/.dirs/runtime 1001s ok 22 /bookmarks/parse/fail-30.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-21.xbel/.dirs/runtime 1001s ok 23 /bookmarks/parse/fail-21.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-01.xbel/.dirs/runtime 1001s ok 24 /bookmarks/parse/valid-01.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-14.xbel/.dirs/runtime 1001s ok 25 /bookmarks/parse/fail-14.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-24.xbel/.dirs/runtime 1001s ok 26 /bookmarks/parse/fail-24.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-01.xbel/.dirs/runtime 1001s ok 27 /bookmarks/parse/fail-01.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-10.xbel/.dirs/runtime 1001s ok 28 /bookmarks/parse/fail-10.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-40.xbel/.dirs/runtime 1001s ok 29 /bookmarks/parse/fail-40.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-32.xbel/.dirs/runtime 1001s ok 30 /bookmarks/parse/fail-32.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-17.xbel/.dirs/runtime 1001s ok 31 /bookmarks/parse/fail-17.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-37.xbel/.dirs/runtime 1001s ok 32 /bookmarks/parse/fail-37.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-28.xbel/.dirs/runtime 1001s ok 33 /bookmarks/parse/fail-28.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-29.xbel/.dirs/runtime 1001s ok 34 /bookmarks/parse/fail-29.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-34.xbel/.dirs/runtime 1001s ok 35 /bookmarks/parse/fail-34.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-33.xbel/.dirs/runtime 1001s ok 36 /bookmarks/parse/fail-33.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-13.xbel/.dirs/runtime 1001s ok 37 /bookmarks/parse/fail-13.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-25.xbel/.dirs/runtime 1001s ok 38 /bookmarks/parse/fail-25.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-06.xbel/.dirs/runtime 1001s ok 39 /bookmarks/parse/fail-06.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-26.xbel/.dirs/runtime 1001s ok 40 /bookmarks/parse/fail-26.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-23.xbel/.dirs/runtime 1001s ok 41 /bookmarks/parse/fail-23.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-15.xbel/.dirs/runtime 1001s ok 42 /bookmarks/parse/fail-15.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-04.xbel/.dirs/runtime 1001s ok 43 /bookmarks/parse/fail-04.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-02.xbel/.dirs/runtime 1001s ok 44 /bookmarks/parse/fail-02.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-31.xbel/.dirs/runtime 1001s ok 45 /bookmarks/parse/fail-31.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-11.xbel/.dirs/runtime 1001s ok 46 /bookmarks/parse/fail-11.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-07.xbel/.dirs/runtime 1001s ok 47 /bookmarks/parse/fail-07.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-08.xbel/.dirs/runtime 1001s ok 48 /bookmarks/parse/fail-08.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/fail-05.xbel/.dirs/runtime 1001s ok 49 /bookmarks/parse/fail-05.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-03.xbel/.dirs/runtime 1001s ok 50 /bookmarks/parse/valid-03.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/parse/valid-02.xbel/.dirs/runtime 1001s ok 51 /bookmarks/parse/valid-02.xbel 1001s # End of parse tests 1001s # Start of copy tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-36.xbel/.dirs/runtime 1001s ok 52 /bookmarks/copy/fail-36.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-42.xbel/.dirs/runtime 1001s ok 53 /bookmarks/copy/fail-42.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-38.xbel/.dirs/runtime 1001s ok 54 /bookmarks/copy/fail-38.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-18.xbel/.dirs/runtime 1001s ok 55 /bookmarks/copy/fail-18.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-09.xbel/.dirs/runtime 1001s ok 56 /bookmarks/copy/fail-09.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-20.xbel/.dirs/runtime 1001s ok 57 /bookmarks/copy/fail-20.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-19.xbel/.dirs/runtime 1001s ok 58 /bookmarks/copy/fail-19.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-12.xbel/.dirs/runtime 1001s ok 59 /bookmarks/copy/fail-12.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-16.xbel/.dirs/runtime 1001s ok 60 /bookmarks/copy/fail-16.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-03.xbel/.dirs/runtime 1001s ok 61 /bookmarks/copy/fail-03.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-22.xbel/.dirs/runtime 1001s ok 62 /bookmarks/copy/fail-22.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-27.xbel/.dirs/runtime 1001s ok 63 /bookmarks/copy/fail-27.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-39.xbel/.dirs/runtime 1001s ok 64 /bookmarks/copy/fail-39.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-41.xbel/.dirs/runtime 1001s ok 65 /bookmarks/copy/fail-41.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-35.xbel/.dirs/runtime 1001s ok 66 /bookmarks/copy/fail-35.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-30.xbel/.dirs/runtime 1001s ok 67 /bookmarks/copy/fail-30.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-21.xbel/.dirs/runtime 1001s ok 68 /bookmarks/copy/fail-21.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-01.xbel/.dirs/runtime 1001s ok 69 /bookmarks/copy/valid-01.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-14.xbel/.dirs/runtime 1001s ok 70 /bookmarks/copy/fail-14.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-24.xbel/.dirs/runtime 1001s ok 71 /bookmarks/copy/fail-24.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-01.xbel/.dirs/runtime 1001s ok 72 /bookmarks/copy/fail-01.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-10.xbel/.dirs/runtime 1001s ok 73 /bookmarks/copy/fail-10.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-40.xbel/.dirs/runtime 1001s ok 74 /bookmarks/copy/fail-40.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-32.xbel/.dirs/runtime 1001s ok 75 /bookmarks/copy/fail-32.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-17.xbel/.dirs/runtime 1001s ok 76 /bookmarks/copy/fail-17.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-37.xbel/.dirs/runtime 1001s ok 77 /bookmarks/copy/fail-37.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-28.xbel/.dirs/runtime 1001s ok 78 /bookmarks/copy/fail-28.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-29.xbel/.dirs/runtime 1001s ok 79 /bookmarks/copy/fail-29.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-34.xbel/.dirs/runtime 1001s ok 80 /bookmarks/copy/fail-34.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-33.xbel/.dirs/runtime 1001s ok 81 /bookmarks/copy/fail-33.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-13.xbel/.dirs/runtime 1001s ok 82 /bookmarks/copy/fail-13.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-25.xbel/.dirs/runtime 1001s ok 83 /bookmarks/copy/fail-25.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-06.xbel/.dirs/runtime 1001s ok 84 /bookmarks/copy/fail-06.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-26.xbel/.dirs/runtime 1001s ok 85 /bookmarks/copy/fail-26.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-23.xbel/.dirs/runtime 1001s ok 86 /bookmarks/copy/fail-23.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-15.xbel/.dirs/runtime 1001s ok 87 /bookmarks/copy/fail-15.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-04.xbel/.dirs/runtime 1001s ok 88 /bookmarks/copy/fail-04.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-02.xbel/.dirs/runtime 1001s ok 89 /bookmarks/copy/fail-02.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-31.xbel/.dirs/runtime 1001s ok 90 /bookmarks/copy/fail-31.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-11.xbel/.dirs/runtime 1001s ok 91 /bookmarks/copy/fail-11.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-07.xbel/.dirs/runtime 1001s ok 92 /bookmarks/copy/fail-07.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-08.xbel/.dirs/runtime 1001s ok 93 /bookmarks/copy/fail-08.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/fail-05.xbel/.dirs/runtime 1001s ok 94 /bookmarks/copy/fail-05.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-03.xbel/.dirs/runtime 1001s ok 95 /bookmarks/copy/valid-03.xbel 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O07B22/bookmarks/copy/valid-02.xbel/.dirs/runtime 1001s ok 96 /bookmarks/copy/valid-02.xbel 1001s # End of copy tests 1001s # End of bookmarks tests 1001s ok - glib/bookmarkfile.test 1001s # Running test: glib/boxed.test 1001s TAP version 14 1001s # random seed: R02S52c4d813290660f48e979bedcee546f0 1001s 1..27 1001s # Start of boxed tests 1001s ok 1 /boxed/define 1001s ok 2 /boxed/ownership 1001s ok 3 /boxed/closure 1001s ok 4 /boxed/date 1001s ok 5 /boxed/value 1001s ok 6 /boxed/string 1001s ok 7 /boxed/hashtable 1001s ok 8 /boxed/array 1001s ok 9 /boxed/ptrarray 1001s ok 10 /boxed/regex 1001s ok 11 /boxed/varianttype 1001s ok 12 /boxed/error 1001s ok 13 /boxed/datetime 1001s ok 14 /boxed/matchinfo 1001s ok 15 /boxed/keyfile 1001s ok 16 /boxed/mainloop 1001s ok 17 /boxed/maincontext 1001s ok 18 /boxed/source 1001s ok 19 /boxed/variantbuilder 1001s ok 20 /boxed/timezone 1001s ok 21 /boxed/pollfd 1001s ok 22 /boxed/markup 1001s ok 23 /boxed/thread 1001s ok 24 /boxed/checksum 1001s ok 25 /boxed/tree 1001s ok 26 /boxed/patternspec 1001s ok 27 /boxed/rand 1001s # End of boxed tests 1001s ok - glib/boxed.test 1001s # Running test: glib/deprecated-properties.test 1001s TAP version 14 1001s # random seed: R02S581f11812904bd83d72ffb787a0147c4 1001s 1..3 1001s # Start of deprecated-properties tests 1001s ok 1 /deprecated-properties/construct 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1001s ok 2 /deprecated-properties/default-construct 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1001s ok 3 /deprecated-properties/set 1001s # End of deprecated-properties tests 1001s ok - glib/deprecated-properties.test 1001s # Running test: glib/gsocketclient-slow.test 1001s TAP version 14 1001s # random seed: R02Scb8ef6413f4ee6b007249316c6057d90 1001s 1..4 1001s # Start of socket-client tests 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1001s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1001s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf5e50348260 and GSocketClientAsyncConnectData 0xaf5e50340ba0 1001s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1001s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1001s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf5e5034a140 for GSocketClientAsyncConnectData 0xaf5e50340ba0 1001s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1002s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1002s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf5e5034b2a0 for GSocketClientAsyncConnectData 0xaf5e50340ba0 1002s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1002s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1002s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1002s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1002s ok 1 /socket-client/connection-fail 1002s # slow test /socket-client/connection-fail executed in 1.20 secs 1002s # Start of happy-eyeballs tests 1002s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf5e5034dc30 and GSocketClientAsyncConnectData 0xaf5e5034bee0 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1002s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf5e5034e5b0 for GSocketClientAsyncConnectData 0xaf5e5034bee0 1002s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1002s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1002s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1002s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1002s ok 2 /socket-client/happy-eyeballs/slow 1002s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1002s # Start of cancellation tests 1002s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf5e5034f220 and GSocketClientAsyncConnectData 0xaf5e5034e140 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1002s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1002s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf5e5034dc70 and GSocketClientAsyncConnectData 0xaf5e5034f4b0 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1002s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf5e5034fc80 for GSocketClientAsyncConnectData 0xaf5e5034f4b0 1002s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1003s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1003s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1003s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1003s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1003s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1003s # End of cancellation tests 1003s # End of happy-eyeballs tests 1003s # End of socket-client tests 1003s ok - glib/gsocketclient-slow.test 1003s # Running test: glib/charset.test 1003s TAP version 14 1003s # random seed: R02S9fdc2a88100e86ec902200945d068e1a 1003s 1..2 1003s # Start of charset tests 1003s # Test 0 1003s # Test 1 1003s # Test 2 1003s # Test 3 1003s ok 1 /charset/language_names_with_category 1003s ok 2 /charset/language_names_with_category_async 1003s # End of charset tests 1003s ok - glib/charset.test 1003s # Running test: glib/completion.test 1003s TAP version 14 1003s # random seed: R02Se849303050bbe0d11bb8d8d1526ed209 1003s 1..1 1003s # Start of completion tests 1003s ok 1 /completion/test-completion 1003s # End of completion tests 1003s ok - glib/completion.test 1003s # Running test: glib/init.test 1003s TAP version 14 1003s # random seed: R02S8dba4a8b6a1dc72f7071b2116782c696 1003s 1..2 1003s # Start of thread tests 1003s # Start of deprecated tests 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_1GRL22/thread/deprecated/init/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_1GRL22/thread/deprecated/init/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_1GRL22/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_1GRL22/thread/deprecated/init/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_1GRL22/thread/deprecated/init/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_1GRL22/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_1GRL22/thread/deprecated/init/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_1GRL22/thread/deprecated/init/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_1GRL22/thread/deprecated/init/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_1GRL22/thread/deprecated/init/.dirs/runtime 1003s ok 1 /thread/deprecated/init 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_1GRL22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1003s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1003s # End of deprecated tests 1003s # End of thread tests 1003s ok - glib/init.test 1003s # Running test: glib/pollable.test 1003s TAP version 14 1003s # random seed: R02S309c6e5c3d503118e247108896f30d61 1003s 1..6 1003s # Start of pollable tests 1003s ok 1 /pollable/converter 1003s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1003s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xab4178629770 and GSocketClientAsyncConnectData 0xab417861cae0 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1003s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xab417862a830 for GSocketClientAsyncConnectData 0xab417861cae0 1003s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1003s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1003s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1003s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1003s ok 2 /pollable/socket 1003s # Start of unix tests 1003s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1003s ok 3 /pollable/unix/pipe 1003s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1003s ok 4 /pollable/unix/pty 1003s # /pollable/unix/file summary: Test that regular files are not considered pollable 1003s ok 5 /pollable/unix/file 1003s # /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 1003s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1003s # End of unix tests 1003s # End of pollable tests 1003s ok - glib/pollable.test 1003s # Running test: glib/data-input-stream.test 1003s TAP version 14 1003s # random seed: R02S15a911ff35bbf010b6edaf0644868d89 1003s 1..10 1003s # Start of data-input-stream tests 1003s ok 1 /data-input-stream/basic 1003s ok 2 /data-input-stream/read-lines-LF 1003s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1003s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1003s ok 5 /data-input-stream/read-lines-CR 1003s ok 6 /data-input-stream/read-lines-CR-LF 1003s ok 7 /data-input-stream/read-lines-any 1003s ok 8 /data-input-stream/read-until 1003s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1003s # Test vector 1: {"key": "value"}? and ? 1003s ok 9 /data-input-stream/read-upto 1003s ok 10 /data-input-stream/read-int 1003s # End of data-input-stream tests 1003s ok - glib/data-input-stream.test 1003s # Running test: glib/flags.test 1003s TAP version 14 1003s # random seed: R02S1c982492c41b85a7770dd40f92d92ec9 1003s 1..1 1003s # Start of gobject tests 1003s # Start of flags tests 1003s ok 1 /gobject/flags/validate 1003s # End of flags tests 1003s # End of gobject tests 1003s ok - glib/flags.test 1003s # Running test: glib/function-info.test 1003s TAP version 14 1003s # random seed: R02S63d67b36fabe5d4db39315c5af9ac194 1003s 1..1 1003s # Start of function-info tests 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_OJ8412/function-info/invoker/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_OJ8412/function-info/invoker/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_OJ8412/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_OJ8412/function-info/invoker/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_OJ8412/function-info/invoker/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_OJ8412/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_OJ8412/function-info/invoker/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_OJ8412/function-info/invoker/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_OJ8412/function-info/invoker/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_OJ8412/function-info/invoker/.dirs/runtime 1003s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1003s # /function-info/invoker summary: Test preparing a function invoker 1003s ok 1 /function-info/invoker 1003s # End of function-info tests 1003s ok - glib/function-info.test 1003s # Running test: glib/memory-monitor-dbus.test 1004s TAP version 13 1004s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1004s 1..1 1004s ok - glib/memory-monitor-dbus.test 1004s # Running test: glib/portal-support-env-var.test 1004s TAP version 14 1004s # random seed: R02S6095b5599f1bfc988dd9dafb4cdc76a6 1004s 1..1 1004s # Start of portal-support tests 1004s ok 1 /portal-support/env-var 1004s # End of portal-support tests 1004s ok - glib/portal-support-env-var.test 1004s # Running test: glib/macros-c-11.test 1004s TAP version 14 1004s # random seed: R02Sb5a4e729d4598f6fa81492475e4f85dd 1004s 1..4 1004s # Start of C tests 1004s ok 1 /C/standard-11 1004s # End of C tests 1004s # Start of alignof tests 1004s ok 2 /alignof/fallback 1004s # End of alignof tests 1004s # Start of assert tests 1004s ok 3 /assert/static 1004s # End of assert tests 1004s # Start of struct tests 1004s ok 4 /struct/sizeof_member 1004s # End of struct tests 1004s ok - glib/macros-c-11.test 1004s # Running test: glib/unicode-normalize.test 1004s TAP version 14 1004s # random seed: R02Sd86a05e33d633a3452fee1bff073eee0 1004s 1..3 1004s # Start of unicode tests 1004s # Processing Part0 # Specific cases 1004s # Processing Part1 # Character by character test 1004s # Processing Part2 # Canonical Order Test 1004s # Processing Part3 # PRI #29 Test 1004s # Processing Part4 # Canonical closures (excluding Hangul) 1004s # Processing Part5 # Chained primary composites 1004s ok 1 /unicode/normalize 1004s # Invalid UTF-8 vector 0 1004s # Invalid UTF-8 vector 1 1004s # Invalid UTF-8 vector 2 1004s # Invalid UTF-8 vector 3 1004s # Invalid UTF-8 vector 4 1004s # Invalid UTF-8 vector 5 1004s # Invalid UTF-8 vector 6 1004s # Invalid UTF-8 vector 7 1004s # Invalid UTF-8 vector 8 1004s # Invalid UTF-8 vector 9 1004s # Invalid UTF-8 vector 10 1004s # Invalid UTF-8 vector 11 1004s # Invalid UTF-8 vector 12 1004s ok 2 /unicode/normalize-invalid 1004s # Start of normalize tests 1004s ok 3 /unicode/normalize/bad-length 1004s # End of normalize tests 1004s # End of unicode tests 1004s ok - glib/unicode-normalize.test 1004s # Running test: glib/gthash.test 1004s TAP version 14 1004s # random seed: R02S4d1e75b107fa9cf81f53fc13bd1a85a9 1004s 1..1 1004s # Start of gthash tests 1004s ok 1 /gthash/build-retrieve 1004s # End of gthash tests 1004s ok - glib/gthash.test 1004s # Running test: glib/references.test 1004s TAP version 14 1004s # random seed: R02S7799cfb9868435ba2e17f98babd1d937 1004s 1..1 1004s # Start of gobject tests 1004s ok 1 /gobject/references 1004s # End of gobject tests 1004s ok - glib/references.test 1004s # Running test: glib/proxy-test.test 1004s TAP version 14 1004s # random seed: R02S7557e6566326e20da612ec0626aa2286 1004s 1..11 1004s # Start of proxy tests 1004s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1004s ok 1 /proxy/direct_sync 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a2940 and GSocketClientAsyncConnectData 0xc0cca2798270 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a3350 for GSocketClientAsyncConnectData 0xc0cca2798270 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1004s ok 2 /proxy/direct_async 1004s ok 3 /proxy/single_sync 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a4c50 and GSocketClientAsyncConnectData 0xc0cca27a3da0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a57b0 for GSocketClientAsyncConnectData 0xc0cca27a3da0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1004s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1004s ok 4 /proxy/single_async 1004s ok 5 /proxy/multiple_sync 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a54e0 and GSocketClientAsyncConnectData 0xc0cca27a52b0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a5e30 for GSocketClientAsyncConnectData 0xc0cca27a52b0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a5840 for GSocketClientAsyncConnectData 0xc0cca27a52b0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1004s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1004s ok 6 /proxy/multiple_async 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1004s ok 7 /proxy/invalid-uris-sync 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a5bc0 and GSocketClientAsyncConnectData 0xc0cca27a50c0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1004s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a5230 and GSocketClientAsyncConnectData 0xc0cca27a50c0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1004s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a5230 and GSocketClientAsyncConnectData 0xc0cca27a50c0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a3b60 for GSocketClientAsyncConnectData 0xc0cca27a50c0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a5230 and GSocketClientAsyncConnectData 0xc0cca27a5fb0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca279f9a0 for GSocketClientAsyncConnectData 0xc0cca27a5fb0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1004s ok 8 /proxy/invalid-uris-async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a5bc0 and GSocketClientAsyncConnectData 0xc0cca27a50c0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1004s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1004s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a5230 and GSocketClientAsyncConnectData 0xc0cca27a4c80 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a60d0 for GSocketClientAsyncConnectData 0xc0cca27a4c80 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1004s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a5230 and GSocketClientAsyncConnectData 0xc0cca27a50c0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a5c20 for GSocketClientAsyncConnectData 0xc0cca27a50c0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1004s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1004s ok 9 /proxy/dns 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a5e90 and GSocketClientAsyncConnectData 0xc0cca27a54e0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a6060 for GSocketClientAsyncConnectData 0xc0cca27a54e0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1004s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a68d0 and GSocketClientAsyncConnectData 0xc0cca27a5880 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a6750 for GSocketClientAsyncConnectData 0xc0cca27a5880 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1004s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1004s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1004s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc0cca27a69c0 and GSocketClientAsyncConnectData 0xc0cca27a54e0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1004s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc0cca27a6750 for GSocketClientAsyncConnectData 0xc0cca27a54e0 1004s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1004s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1004s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1004s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1004s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1004s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1004s ok 10 /proxy/override 1004s ok 11 /proxy/enumerator-ports 1004s # End of proxy tests 1004s ok - glib/proxy-test.test 1004s # Running test: glib/socket.test 1004s TAP version 14 1004s # random seed: R02S2f508057b678a07bf02c4231fcf117da 1004s 1..28 1004s # Start of socket tests 1004s # Executing: glib/socket.test 1005s ok 1 /socket/ipv4_sync 1005s # slow test /socket/ipv4_sync executed in 1.00 secs 1006s ok 2 /socket/ipv4_async 1006s # slow test /socket/ipv4_async executed in 1.00 secs 1006s ok 3 /socket/ipv6_sync 1006s ok 4 /socket/ipv6_async 1006s ok 5 /socket/ipv6_v4mapped 1007s ok 6 /socket/close_graceful 1007s # slow test /socket/close_graceful executed in 1.00 secs 1007s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1007s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1007s ok 8 /socket/fd_reuse 1007s ok 9 /socket/address 1007s ok 10 /socket/unix-from-fd 1007s ok 11 /socket/unix-connection 1007s ok 12 /socket/unix-connection-ancillary-data 1007s ok 13 /socket/source-postmortem 1007s ok 14 /socket/read_write 1007s ok 15 /socket/read_writev 1007s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1007s ok 16 /socket/receive_bytes 1007s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1007s ok 17 /socket/receive_bytes_from 1007s # Start of ipv4_sync tests 1007s ok 18 /socket/ipv4_sync/datagram 1007s # Start of datagram tests 1008s ok 19 /socket/ipv4_sync/datagram/timeouts 1008s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1008s # End of datagram tests 1008s # End of ipv4_sync tests 1008s # Start of ipv6_sync tests 1008s ok 20 /socket/ipv6_sync/datagram 1008s # Start of datagram tests 1009s ok 21 /socket/ipv6_sync/datagram/timeouts 1009s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1009s # End of datagram tests 1009s # End of ipv6_sync tests 1009s # Start of reuse tests 1009s ok 22 /socket/reuse/tcp 1009s ok 23 /socket/reuse/udp 1009s # End of reuse tests 1009s # Start of get_available tests 1009s ok 24 /socket/get_available/datagram 1009s ok 25 /socket/get_available/stream 1009s # End of get_available tests 1009s # Start of credentials tests 1009s # Supported on this OS: GCredentials:linux-ucred:pid=0 1009s ok 26 /socket/credentials/tcp_client 1009s # Supported on this OS: GCredentials:linux-ucred:pid=0 1009s ok 27 /socket/credentials/tcp_server 1009s # Supported on this OS: GCredentials:linux-ucred:pid=3061,uid=1000,gid=1000 1009s ok 28 /socket/credentials/unix_socketpair 1009s # End of credentials tests 1009s # End of socket tests 1009s ok - glib/socket.test 1009s # Running test: glib/socket-service.test 1009s TAP version 14 1009s # random seed: R02Sd48f6d57b9067e6c427417d9ac615c3d 1009s 1..4 1009s # Start of socket-service tests 1009s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1009s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb6c4ed926350 and GSocketClientAsyncConnectData 0xb6c4ed91e630 1009s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1009s ok 1 /socket-service/start-stop 1009s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb6c4ed927eb0 and GSocketClientAsyncConnectData 0xb6c4ed927c50 1009s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1009s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1009s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb6c4ed9283c0 for GSocketClientAsyncConnectData 0xb6c4ed91e630 1009s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1009s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1009s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1009s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1009s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1009s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb6c4ed929240 for GSocketClientAsyncConnectData 0xb6c4ed927c50 1009s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1009s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1009s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1009s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1009s ok 2 /socket-service/read_write_async 1009s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb6c4ed92bf90 and GSocketClientAsyncConnectData 0xb6c4ed9299b0 1009s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1009s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1009s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb6c4ed92a170 for GSocketClientAsyncConnectData 0xb6c4ed9299b0 1009s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1009s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1009s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1009s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1009s ok 3 /socket-service/read_writev_async 1009s # Start of threaded tests 1009s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1009s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb6c4ed92d6f0 and GSocketClientAsyncConnectData 0xb6c4ed929d30 1009s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1009s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1009s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb6c4ed92d920 for GSocketClientAsyncConnectData 0xb6c4ed929d30 1009s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1009s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1009s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1009s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1009s ok 4 /socket-service/threaded/712570 1009s # End of threaded tests 1009s # End of socket-service tests 1009s ok - glib/socket-service.test 1009s # Running test: glib/unix-mounts.test 1009s TAP version 14 1009s # random seed: R02S444589abf72416191eacf84c789532d2 1009s 1..4 1009s # Start of unix-mounts tests 1009s ok 1 /unix-mounts/is-system-fs-type 1009s ok 2 /unix-mounts/is-system-device-path 1009s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1009s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1009s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1009s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1009s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1009s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1009s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1009s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1009s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1009s ok 3 /unix-mounts/get-mount-points 1009s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1009s ok 4 /unix-mounts/get-mount-entries 1009s # End of unix-mounts tests 1009s ok - glib/unix-mounts.test 1009s # Running test: glib/date.test 1009s TAP version 14 1009s # random seed: R02S1f024b14139f74faaba185cae2b2e70b 1009s 1..121 1009s # Start of date tests 1009s ok 1 /date/basic 1009s ok 2 /date/empty 1009s ok 3 /date/dmy 1009s ok 4 /date/julian 1009s ok 5 /date/compare 1009s ok 6 /date/dates 1009s ok 7 /date/strftime 1009s ok 8 /date/two-digit-years 1009s ok 9 /date/parse 1009s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1009s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1009s ok 11 /date/month_substring 1009s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1009s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1009s ok 13 /date/clamp 1009s ok 14 /date/order 1009s ok 15 /date/copy 1009s # Vector 0: 0000-00-00, invalid 1009s # Vector 1: 0001-01-01, valid 1009s # Vector 2: 0000-01-01, invalid 1009s # Vector 3: 2000-02-30, invalid 1009s # Vector 4: 2000-02-29, valid 1009s # Vector 5: 2001-02-29, invalid 1009s # Vector 6: 65535-01-01, valid 1009s ok 16 /date/valid-dmy 1009s # Start of parse tests 1009s # Test 0 1009s # Test 1 1009s ok 17 /date/parse/invalid 1009s # End of parse tests 1009s # Start of year tests 1009s ok 18 /date/year/1 1009s ok 19 /date/year/2 1009s ok 20 /date/year/3 1009s ok 21 /date/year/4 1009s ok 22 /date/year/5 1009s ok 23 /date/year/6 1009s ok 24 /date/year/7 1009s ok 25 /date/year/8 1009s ok 26 /date/year/9 1009s ok 27 /date/year/10 1009s ok 28 /date/year/11 1009s ok 29 /date/year/12 1009s ok 30 /date/year/13 1009s ok 31 /date/year/14 1009s ok 32 /date/year/98 1009s ok 33 /date/year/99 1009s ok 34 /date/year/100 1009s ok 35 /date/year/101 1009s ok 36 /date/year/102 1009s ok 37 /date/year/103 1009s ok 38 /date/year/397 1009s ok 39 /date/year/398 1009s ok 40 /date/year/399 1009s ok 41 /date/year/400 1009s ok 42 /date/year/401 1009s ok 43 /date/year/402 1009s ok 44 /date/year/403 1009s ok 45 /date/year/404 1009s ok 46 /date/year/405 1009s ok 47 /date/year/406 1009s ok 48 /date/year/1598 1009s ok 49 /date/year/1599 1009s ok 50 /date/year/1600 1009s ok 51 /date/year/1601 1009s ok 52 /date/year/1602 1009s ok 53 /date/year/1650 1009s ok 54 /date/year/1651 1009s ok 55 /date/year/1897 1009s ok 56 /date/year/1898 1009s ok 57 /date/year/1899 1009s ok 58 /date/year/1900 1009s ok 59 /date/year/1901 1009s ok 60 /date/year/1902 1009s ok 61 /date/year/1903 1009s ok 62 /date/year/1961 1009s ok 63 /date/year/1962 1009s ok 64 /date/year/1963 1009s ok 65 /date/year/1964 1009s ok 66 /date/year/1965 1009s ok 67 /date/year/1967 1009s ok 68 /date/year/1968 1009s ok 69 /date/year/1969 1009s ok 70 /date/year/1970 1009s ok 71 /date/year/1971 1009s ok 72 /date/year/1972 1009s ok 73 /date/year/1973 1009s ok 74 /date/year/1974 1009s ok 75 /date/year/1975 1009s ok 76 /date/year/1976 1009s ok 77 /date/year/1977 1009s ok 78 /date/year/1978 1009s ok 79 /date/year/1979 1009s ok 80 /date/year/1980 1009s ok 81 /date/year/1981 1009s ok 82 /date/year/1982 1009s ok 83 /date/year/1983 1009s ok 84 /date/year/1984 1009s ok 85 /date/year/1985 1009s ok 86 /date/year/1986 1009s ok 87 /date/year/1987 1009s ok 88 /date/year/1988 1009s ok 89 /date/year/1989 1009s ok 90 /date/year/1990 1009s ok 91 /date/year/1991 1009s ok 92 /date/year/1992 1009s ok 93 /date/year/1993 1009s ok 94 /date/year/1994 1009s ok 95 /date/year/1995 1009s ok 96 /date/year/1996 1009s ok 97 /date/year/1997 1009s ok 98 /date/year/1998 1009s ok 99 /date/year/1999 1009s ok 100 /date/year/2000 1009s ok 101 /date/year/2001 1009s # Executing: glib/date.test 1009s ok 102 /date/year/2002 1009s ok 103 /date/year/2003 1009s ok 104 /date/year/2004 1009s ok 105 /date/year/2005 1009s ok 106 /date/year/2006 1009s ok 107 /date/year/2007 1009s ok 108 /date/year/2008 1009s ok 109 /date/year/2009 1009s ok 110 /date/year/2010 1009s ok 111 /date/year/2011 1009s ok 112 /date/year/2012 1009s ok 113 /date/year/3000 1009s ok 114 /date/year/3001 1009s ok 115 /date/year/3002 1009s ok 116 /date/year/3998 1009s ok 117 /date/year/3999 1009s ok 118 /date/year/4000 1009s ok 119 /date/year/4001 1009s ok 120 /date/year/4002 1009s ok 121 /date/year/4003 1009s # End of year tests 1009s # End of date tests 1009s ok - glib/date.test 1009s # Running test: glib/notify-init2.test 1009s TAP version 14 1009s # random seed: R02Sc5bb9b4bff3f8235e588bb9148810ae4 1009s 1..1 1009s # Start of properties tests 1009s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1009s ok 1 /properties/notify-in-init2 1009s # End of properties tests 1009s ok - glib/notify-init2.test 1009s # Running test: glib/g-icon.test 1009s TAP version 14 1009s # random seed: R02Sa5b03f1c30758da19b146a2cfd63230a 1009s 1..6 1009s # Start of icons tests 1009s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1009s ok 1 /icons/to-string 1009s ok 2 /icons/serialize 1009s ok 3 /icons/themed 1009s ok 4 /icons/emblemed 1009s ok 5 /icons/file 1009s ok 6 /icons/bytes 1009s # End of icons tests 1009s ok - glib/g-icon.test 1009s # Running test: glib/power-profile-monitor-portal.test 1010s TAP version 13 1010s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1010s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1010s 1..2 1010s ok - glib/power-profile-monitor-portal.test 1010s # Running test: glib/type-flags.test 1010s TAP version 14 1010s # random seed: R02Sa6059ab1603486877f13516747c852fc 1010s 1..4 1010s # Start of type tests 1010s # Start of flags tests 1010s ok 1 /type/flags/interface 1010s ok 2 /type/flags/final 1010s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1010s ok 3 /type/flags/deprecated 1010s # Start of final tests 1010s ok 4 /type/flags/final/instance-check 1010s # End of final tests 1010s # End of flags tests 1010s # End of type tests 1010s ok - glib/type-flags.test 1010s # Running test: glib/gdbus-addresses.test 1010s TAP version 14 1010s # random seed: R02Sb3dfd66dd6f69e2d464b32c4faf9b086 1010s 1..9 1010s # Start of gdbus tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_453K22/gdbus/empty-address/.dirs/runtime 1010s ok 1 /gdbus/empty-address 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_453K22/gdbus/unsupported-address/.dirs/runtime 1010s ok 2 /gdbus/unsupported-address 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_453K22/gdbus/address-parsing/.dirs/runtime 1010s ok 3 /gdbus/address-parsing 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_453K22/gdbus/unix-address/.dirs/runtime 1010s ok 4 /gdbus/unix-address 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_453K22/gdbus/nonce-tcp-address/.dirs/runtime 1010s ok 5 /gdbus/nonce-tcp-address 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_453K22/gdbus/tcp-address/.dirs/runtime 1010s ok 6 /gdbus/tcp-address 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_453K22/gdbus/autolaunch-address/.dirs/runtime 1010s ok 7 /gdbus/autolaunch-address 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_453K22/gdbus/mixed-address/.dirs/runtime 1010s ok 8 /gdbus/mixed-address 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_453K22/gdbus/escape-address/.dirs/runtime 1010s ok 9 /gdbus/escape-address 1010s # End of gdbus tests 1010s ok - glib/gdbus-addresses.test 1010s # Running test: glib/macros.test 1010s TAP version 14 1010s # random seed: R02S02784d635454c89fbb606b50f039b3a9 1010s 1..3 1010s # Start of alignof tests 1010s ok 1 /alignof/fallback 1010s # End of alignof tests 1010s # Start of assert tests 1010s ok 2 /assert/static 1010s # End of assert tests 1010s # Start of struct tests 1010s ok 3 /struct/sizeof_member 1010s # End of struct tests 1010s ok - glib/macros.test 1010s # Running test: glib/macros-c-89.test 1010s TAP version 14 1010s # random seed: R02S67af72a7ad64c344fcbb874c816f2ede 1010s 1..4 1010s # Start of C tests 1010s ok 1 /C/standard-89 1010s # End of C tests 1010s # Start of alignof tests 1010s ok 2 /alignof/fallback 1010s # End of alignof tests 1010s # Start of assert tests 1010s ok 3 /assert/static 1010s # End of assert tests 1010s # Start of struct tests 1010s ok 4 /struct/sizeof_member 1010s # End of struct tests 1010s ok - glib/macros-c-89.test 1010s # Running test: glib/closure.test 1010s TAP version 14 1010s # random seed: R02S1516a23001f15abba44566886479c489 1010s 1..6 1010s # Start of closure tests 1010s ok 1 /closure/idle 1010s ok 2 /closure/timeout 1010s ok 3 /closure/iochannel 1010s ok 4 /closure/child 1010s ok 5 /closure/fd 1010s ok 6 /closure/signal 1010s # End of closure tests 1010s ok - glib/closure.test 1010s # Running test: glib/tls-certificate.test 1010s TAP version 14 1010s # random seed: R02S7810e188dca284e0f95e6c0d3a59bc4f 1010s 1..19 1010s # Start of tls-certificate tests 1010s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1010s ok 1 /tls-certificate/pem-parser 1010s ok 2 /tls-certificate/pem-parser-handles-chain 1010s ok 3 /tls-certificate/from_file 1010s ok 4 /tls-certificate/from_files 1010s ok 5 /tls-certificate/from_files_crlf 1010s ok 6 /tls-certificate/from_files_pkcs8 1010s ok 7 /tls-certificate/from_files_pkcs8enc 1010s ok 8 /tls-certificate/list_from_file 1010s ok 9 /tls-certificate/pkcs11-uri 1010s ok 10 /tls-certificate/pkcs11-uri-unsupported 1010s ok 11 /tls-certificate/from_pkcs12 1010s ok 12 /tls-certificate/from_pkcs12_file 1010s ok 13 /tls-certificate/not-valid-before 1010s ok 14 /tls-certificate/not-valid-after 1010s ok 15 /tls-certificate/subject-name 1010s ok 16 /tls-certificate/issuer-name 1010s ok 17 /tls-certificate/dns-names 1010s ok 18 /tls-certificate/ip-addresses 1010s ok 19 /tls-certificate/pem-parser-no-sentinel 1010s # End of tls-certificate tests 1010s ok - glib/tls-certificate.test 1010s # Running test: glib/repository.test 1010s TAP version 14 1010s # random seed: R02S01caf8bc38ce15ba28539515c1bc1bea 1010s 1..23 1010s # Start of repository tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/basic/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/basic/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/basic/.dirs/system-config1:/tmp/test_repository_JBL012/repository/basic/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/basic/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/basic/.dirs/system-data1:/tmp/test_repository_JBL012/repository/basic/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/basic/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/basic/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/basic/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1010s ok 1 /repository/basic 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/info/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/info/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/info/.dirs/system-config1:/tmp/test_repository_JBL012/repository/info/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/info/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/info/.dirs/system-data1:/tmp/test_repository_JBL012/repository/info/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/info/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/info/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/info/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1010s ok 2 /repository/info 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/dependencies/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/dependencies/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/dependencies/.dirs/system-config1:/tmp/test_repository_JBL012/repository/dependencies/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/dependencies/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/dependencies/.dirs/system-data1:/tmp/test_repository_JBL012/repository/dependencies/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/dependencies/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/dependencies/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/dependencies/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1010s ok 3 /repository/dependencies 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/arg-info/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/arg-info/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/arg-info/.dirs/system-config1:/tmp/test_repository_JBL012/repository/arg-info/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/arg-info/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/arg-info/.dirs/system-data1:/tmp/test_repository_JBL012/repository/arg-info/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/arg-info/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/arg-info/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/arg-info/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1010s ok 4 /repository/arg-info 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/callable-info/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/callable-info/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/callable-info/.dirs/system-config1:/tmp/test_repository_JBL012/repository/callable-info/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/callable-info/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/callable-info/.dirs/system-data1:/tmp/test_repository_JBL012/repository/callable-info/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/callable-info/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/callable-info/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/callable-info/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1010s ok 5 /repository/callable-info 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/callback-info/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/callback-info/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/callback-info/.dirs/system-config1:/tmp/test_repository_JBL012/repository/callback-info/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/callback-info/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/callback-info/.dirs/system-data1:/tmp/test_repository_JBL012/repository/callback-info/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/callback-info/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/callback-info/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/callback-info/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1010s ok 6 /repository/callback-info 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/char-types/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/char-types/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/char-types/.dirs/system-config1:/tmp/test_repository_JBL012/repository/char-types/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/char-types/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/char-types/.dirs/system-data1:/tmp/test_repository_JBL012/repository/char-types/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/char-types/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/char-types/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/char-types/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1010s ok 7 /repository/char-types 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/constructor-return-type/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1010s ok 8 /repository/constructor-return-type 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/enum-info-c-identifier/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1010s ok 9 /repository/enum-info-c-identifier 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/enum-info-static-methods/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/enum-info-static-methods summary: Test an enum with methods 1010s ok 10 /repository/enum-info-static-methods 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/error-quark/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/error-quark/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/error-quark/.dirs/system-config1:/tmp/test_repository_JBL012/repository/error-quark/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/error-quark/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/error-quark/.dirs/system-data1:/tmp/test_repository_JBL012/repository/error-quark/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/error-quark/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/error-quark/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/error-quark/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/error-quark summary: Test finding an error quark by error domain 1010s ok 11 /repository/error-quark 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/flags-info-c-identifier/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1010s ok 12 /repository/flags-info-c-identifier 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/fundamental-ref-func/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1010s ok 13 /repository/fundamental-ref-func 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/instance-method-ownership-transfer/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1010s ok 14 /repository/instance-method-ownership-transfer 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/object-gtype-interfaces/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1010s ok 15 /repository/object-gtype-interfaces 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/signal-info-with-array-length-arg/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1010s ok 16 /repository/signal-info-with-array-length-arg 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/type-info-name/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/type-info-name/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_JBL012/repository/type-info-name/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/type-info-name/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_JBL012/repository/type-info-name/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/type-info-name/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/type-info-name/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/type-info-name/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1010s ok 17 /repository/type-info-name 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/vfunc-info-with-no-invoker/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1010s ok 18 /repository/vfunc-info-with-no-invoker 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1010s ok 19 /repository/vfunc-info-with-invoker-on-interface 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1010s ok 20 /repository/vfunc-info-with-invoker-on-object 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/find-by-gtype/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/find-by-gtype summary: Test finding a GType 1010s ok 21 /repository/find-by-gtype 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/loaded-namespaces/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1010s ok 22 /repository/loaded-namespaces 1010s # Start of base-info tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_JBL012/repository/base-info/clear/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_JBL012/repository/base-info/clear/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_JBL012/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_JBL012/repository/base-info/clear/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_JBL012/repository/base-info/clear/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_JBL012/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_JBL012/repository/base-info/clear/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_JBL012/repository/base-info/clear/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_JBL012/repository/base-info/clear/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_JBL012/repository/base-info/clear/.dirs/runtime 1010s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1010s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1010s ok 23 /repository/base-info/clear 1010s # End of base-info tests 1010s # End of repository tests 1010s ok - glib/repository.test 1010s # Running test: glib/accumulator.test 1010s TAP version 14 1010s # random seed: R02S4fd6a1d549b7cf6ab9ede336da333472 1010s 1..1 1010s # Start of gobject tests 1010s ok 1 /gobject/accumulator 1010s # End of gobject tests 1010s ok - glib/accumulator.test 1010s # Running test: glib/mainloop.test 1010s TAP version 14 1010s # random seed: R02Sccbc98e1029f0705b9a9fee91504b09a 1010s 1..45 1010s # Start of maincontext tests 1010s ok 1 /maincontext/basic 1010s # Add same-priority sources: 15 1010s # Find each source: 2 1010s # Remove in random order: 36 1010s ok 2 /maincontext/nsources_same_priority 1010s # Add different-priority sources: 17 1010s # Find each source: 2 1010s # Remove in random order: 40 1010s ok 3 /maincontext/nsources_different_priority 1011s # Add sources from threads: 261 1011s # Remove sources from threads: 223 1011s ok 4 /maincontext/nsources_threadpool 1011s ok 5 /maincontext/source_finalization 1011s # /maincontext/idle-once summary: Test g_idle_add_once() works 1011s ok 6 /maincontext/idle-once 1011s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1011s ok 7 /maincontext/timeout-once 1011s # Start of source_finalization_from_source tests 1011s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 8 /maincontext/source_finalization_from_source/0 1011s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 9 /maincontext/source_finalization_from_source/1 1011s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 10 /maincontext/source_finalization_from_source/2 1011s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 11 /maincontext/source_finalization_from_source/3 1011s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 12 /maincontext/source_finalization_from_source/4 1011s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 13 /maincontext/source_finalization_from_source/5 1011s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 14 /maincontext/source_finalization_from_source/6 1011s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 15 /maincontext/source_finalization_from_source/7 1011s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 16 /maincontext/source_finalization_from_source/8 1011s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1011s ok 17 /maincontext/source_finalization_from_source/9 1011s # End of source_finalization_from_source tests 1011s # Start of source_finalization_from_dispatch tests 1011s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1011s ok 18 /maincontext/source_finalization_from_dispatch/0 1011s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1011s ok 19 /maincontext/source_finalization_from_dispatch/1 1011s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1011s ok 20 /maincontext/source_finalization_from_dispatch/2 1011s # End of source_finalization_from_dispatch tests 1011s # End of maincontext tests 1011s # Start of mainloop tests 1011s ok 21 /mainloop/basic 1011s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1011s ok 23 /mainloop/priorities 1011s ok 24 /mainloop/invoke 1011s # slow test /mainloop/invoke executed in 0.50 secs 1012s ok 25 /mainloop/child_sources 1012s # slow test /mainloop/child_sources executed in 1.19 secs 1014s # Executing: glib/mainloop.test 1015s ok 26 /mainloop/recursive_child_sources 1015s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1015s ok 27 /mainloop/recursive_loop_child_sources 1015s ok 28 /mainloop/swapping_child_sources 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1015s ok 29 /mainloop/blocked_child_sources 1016s ok 30 /mainloop/source_time 1016s # slow test /mainloop/source_time executed in 1.00 secs 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1016s ok 31 /mainloop/overflow 1016s ok 32 /mainloop/ready-time 1016s # slow test /mainloop/ready-time executed in 0.50 secs 1016s ok 33 /mainloop/wakeup 1016s ok 34 /mainloop/remove-invalid 1016s ok 35 /mainloop/unref-while-pending 1017s ok 36 /mainloop/unix-fd 1017s # slow test /mainloop/unix-fd executed in 0.61 secs 1017s ok 37 /mainloop/unix-fd-source 1017s ok 38 /mainloop/source-unix-fd-api 1017s ok 39 /mainloop/wait 1017s ok 40 /mainloop/unix-file-poll 1017s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1017s ok 41 /mainloop/unix-fd-priority 1017s ok 42 /mainloop/nfds 1017s ok 43 /mainloop/steal-fd 1017s # Start of ownerless-polling tests 1017s ok 44 /mainloop/ownerless-polling/attach-first 1017s ok 45 /mainloop/ownerless-polling/pop-first 1017s # End of ownerless-polling tests 1017s # End of mainloop tests 1017s ok - glib/mainloop.test 1017s # Running test: glib/option-argv0.test 1017s TAP version 14 1017s # random seed: R02Sfe5a6c9063820fa9bdb5f38fb2df91cf 1017s 1..1 1017s # Start of option tests 1017s ok 1 /option/argv0 1017s # End of option tests 1017s ok - glib/option-argv0.test 1017s # Running test: glib/portal-support-flatpak-network-only.test 1017s TAP version 14 1017s # random seed: R02Sc7cc29d663060a2db290b136b55daefc 1017s 1..1 1017s # Start of portal-support tests 1017s # Start of flatpak tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/runtime 1017s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_5AQ012/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1017s ok 1 /portal-support/flatpak/network 1017s # End of flatpak tests 1017s # End of portal-support tests 1017s ok - glib/portal-support-flatpak-network-only.test 1017s # Running test: glib/callable-info.test 1017s TAP version 14 1017s # random seed: R02S004e5fcbed98112380e7c303793608a3 1017s 1..2 1017s # Start of callable-info tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_O4L012/callable-info/sync-function/.dirs/runtime 1017s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1017s ok 1 /callable-info/sync-function 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_O4L012/callable-info/async-function/.dirs/runtime 1017s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1017s ok 2 /callable-info/async-function 1017s # End of callable-info tests 1017s ok - glib/callable-info.test 1017s # Running test: glib/memory-monitor-portal.test 1018s TAP version 13 1018s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1018s 1..1 1018s ok - glib/memory-monitor-portal.test 1018s # Running test: glib/srvtarget.test 1018s TAP version 14 1018s # random seed: R02S4aa7d4c7c26f0bcbfa94f1d68ecf19ed 1018s 1..1 1018s # Start of srvtarget tests 1018s ok 1 /srvtarget/srv-target-ordering 1018s # End of srvtarget tests 1018s ok - glib/srvtarget.test 1018s # Running test: glib/gutils-user-database.test 1018s TAP version 14 1018s # random seed: R02S270d723058fb15f43d2d4e2825d9d3ee 1018s 1..1 1018s # Start of gutils tests 1018s ok 1 /gutils/get_user_database_entry 1018s # End of gutils tests 1018s ok - glib/gutils-user-database.test 1018s # Running test: glib/dbus-appinfo.test 1018s TAP version 14 1018s # random seed: R02Sc21406c645eb610c9e429b453cedef87 1018s 1..7 1018s # Start of appinfo tests 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/runtime 1018s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1018s ok 1 /appinfo/dbusappinfo 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/runtime 1018s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1018s # Acquired a message bus connection 1018s # Acquired the name org.freedesktop.portal.Documents 1018s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FT6K22/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/config 1018s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1018s # fake-document-portal cancelled 1018s ok 2 /appinfo/flatpak-doc-export 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/runtime 1018s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1018s # Acquired a message bus connection 1018s # Acquired the name org.freedesktop.portal.Documents 1018s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/config 1018s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1018s # fake-document-portal cancelled 1018s ok 3 /appinfo/flatpak-missing-doc-export 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/runtime 1018s # Acquired a message bus connection 1018s # Acquired the name org.freedesktop.portal.Desktop 1018s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FT6K22/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/config 1018s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1018s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 1018s # Response emitted 1018s # fake-desktop-portal cancelled 1018s ok 4 /appinfo/portal-open-file 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/runtime 1018s # Acquired a message bus connection 1018s # Acquired the name org.freedesktop.portal.Desktop 1018s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/config 1018s # Got open file request for http://example.com 1018s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 1018s # Response emitted 1018s # fake-desktop-portal cancelled 1018s ok 5 /appinfo/portal-open-uri 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/runtime 1018s # Acquired a message bus connection 1018s # Acquired the name org.freedesktop.portal.Desktop 1018s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/config 1018s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1018s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1977448171 1018s # Response emitted 1018s # fake-desktop-portal cancelled 1018s ok 6 /appinfo/portal-open-file-async 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/runtime 1018s # Acquired a message bus connection 1018s # Acquired the name org.freedesktop.portal.Desktop 1018s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_FT6K22/appinfo/portal-open-uri-async/.dirs/config 1018s # Got open file request for http://example.com 1018s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1967277228 1018s # Response emitted 1018s # fake-desktop-portal cancelled 1018s ok 7 /appinfo/portal-open-uri-async 1018s # End of appinfo tests 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s ok - glib/dbus-appinfo.test 1018s # Running test: glib/test-printf.test 1018s TAP version 14 1018s # random seed: R02Sbcd44b94c53b8fb13808eb15a6a5d186 1018s 1..22 1018s # Start of snprintf tests 1018s ok 1 /snprintf/retval-and-trunc 1018s ok 2 /snprintf/%d 1018s ok 3 /snprintf/%d-invalid 1018s ok 4 /snprintf/%o 1018s ok 5 /snprintf/%u 1018s ok 6 /snprintf/%x 1018s ok 7 /snprintf/%X 1018s ok 8 /snprintf/%f 1018s ok 9 /snprintf/%e 1018s ok 10 /snprintf/%c 1018s ok 11 /snprintf/%s 1018s ok 12 /snprintf/%n 1018s ok 13 /snprintf/test-percent 1018s ok 14 /snprintf/test-positional-params 1018s ok 15 /snprintf/test-64bit 1018s # End of snprintf tests 1018s # Start of printf tests 1018s ok 16 /printf/test-percent 1018s ok 17 /printf/test-positional-params 1018s ok 18 /printf/test-64bit 1018s # Start of test-64bit tests 1018s # Start of subprocess tests 1018s # End of subprocess tests 1018s # End of test-64bit tests 1018s # End of printf tests 1018s # Start of sprintf tests 1018s ok 19 /sprintf/test-positional-params 1018s ok 20 /sprintf/upper-bound 1018s # End of sprintf tests 1018s # Start of vasprintf tests 1018s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1018s ok 21 /vasprintf/invalid-format-placeholder 1018s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1018s ok 22 /vasprintf/invalid-wide-string 1018s # End of vasprintf tests 1018s ok - glib/test-printf.test 1018s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1018s TAP version 14 1018s # random seed: R02S410f1a1a3a72d80d6a9955b648a31349 1018s 1..8 1018s # Start of gdbus tests 1018s # Start of codegen tests 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/annotations/.dirs/runtime 1018s ok 1 /gdbus/codegen/annotations 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/interface_stability/.dirs/runtime 1018s ok 2 /gdbus/codegen/interface_stability 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/object-manager/.dirs/runtime 1018s ok 3 /gdbus/codegen/object-manager 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/property-naming/.dirs/runtime 1018s ok 4 /gdbus/codegen/property-naming 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/autocleanups/.dirs/runtime 1018s ok 5 /gdbus/codegen/autocleanups 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/deprecations/.dirs/runtime 1018s ok 6 /gdbus/codegen/deprecations 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/standalone-interface-info/.dirs/runtime 1018s ok 7 /gdbus/codegen/standalone-interface-info 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_5WG012/gdbus/codegen/unix-fd-list/.dirs/runtime 1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1018s ok 8 /gdbus/codegen/unix-fd-list 1018s # End of codegen tests 1018s # End of gdbus tests 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s ok - glib/gdbus-test-codegen-min-required-2-64.test 1018s # Running test: glib/readwrite.test 1018s TAP version 14 1018s # random seed: R02Sc7943d757bf878e0ba42f92e603936b9 1018s 1..3 1018s # Start of readwrite tests 1018s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1018s ok 1 /readwrite/test_g_file_open_readwrite 1018s ok 2 /readwrite/test_g_file_create_readwrite 1018s ok 3 /readwrite/test_g_file_replace_readwrite 1018s # End of readwrite tests 1018s ok - glib/readwrite.test 1018s # Running test: glib/buffered-output-stream.test 1018s TAP version 14 1018s # random seed: R02S7b1adda7028a66c2e858de662987e1d0 1018s 1..5 1018s # Start of buffered-output-stream tests 1018s ok 1 /buffered-output-stream/write 1018s ok 2 /buffered-output-stream/grow 1018s ok 3 /buffered-output-stream/seek 1018s ok 4 /buffered-output-stream/truncate 1018s # End of buffered-output-stream tests 1018s # Start of filter-output-stream tests 1018s ok 5 /filter-output-stream/close 1018s # End of filter-output-stream tests 1018s ok - glib/buffered-output-stream.test 1018s # Running test: glib/properties-refcount3.test 1018s TAP version 14 1018s # random seed: R02S291bc0e9b16bec9c02ea20d0883231f4 1018s 1..1 1018s # Start of gobject tests 1018s # Start of refcount tests 1019s # Executing: glib/properties-refcount3.test 1024s # Executing: glib/properties-refcount3.test 1029s # Executing: glib/properties-refcount3.test 1034s # Executing: glib/properties-refcount3.test 1039s # Executing: glib/properties-refcount3.test 1044s # Executing: glib/properties-refcount3.test 1048s # 1048s # stopping 1048s # 1048s # stopped 1048s # 1048s # 29414505 315254 1048s # 1048s ok 1 /gobject/refcount/properties-3 1048s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1048s # End of refcount tests 1048s # End of gobject tests 1048s ok - glib/properties-refcount3.test 1048s # Running test: glib/hash.test 1048s TAP version 14 1048s # random seed: R02Sa44eb376ddfca9893fb48e33a54da086 1048s 1..34 1048s # Start of hash tests 1048s ok 1 /hash/misc 1048s ok 2 /hash/one 1048s ok 3 /hash/honeyman 1048s ok 4 /hash/direct 1048s ok 5 /hash/direct2 1048s ok 6 /hash/int 1048s ok 7 /hash/int64 1048s ok 8 /hash/double 1048s ok 9 /hash/string 1048s ok 10 /hash/set 1048s ok 11 /hash/set-ref 1048s ok 12 /hash/ref 1048s ok 13 /hash/remove-all 1048s ok 14 /hash/recursive-remove-all 1048s ok 15 /hash/find 1048s ok 16 /hash/foreach 1048s ok 17 /hash/foreach-steal 1048s ok 18 /hash/steal-extended 1048s ok 19 /hash/steal-all-keys 1048s ok 20 /hash/steal-all-values 1048s ok 21 /hash/lookup-extended 1048s ok 22 /hash/new-similar 1048s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1048s ok 23 /hash/lookup-null-key 1048s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1048s ok 24 /hash/destroy-modify 1048s ok 25 /hash/consistency 1048s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1048s ok 26 /hash/iter-replace 1048s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1048s ok 27 /hash/set-insert-corruption 1048s ok 28 /hash/set-to-strv 1048s ok 29 /hash/get-keys-as-ptr-array 1048s ok 30 /hash/get-values-as-ptr-array 1048s ok 31 /hash/primes 1048s # Start of int64 tests 1048s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1048s ok 32 /hash/int64/collisions 1048s # End of int64 tests 1048s # Start of double tests 1048s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1048s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1048s ok 33 /hash/double/collisions 1048s # End of double tests 1048s # Start of recursive-remove-all tests 1048s # End of recursive-remove-all tests 1048s # Start of steal-extended tests 1048s ok 34 /hash/steal-extended/optional 1048s # End of steal-extended tests 1048s # End of hash tests 1048s ok - glib/hash.test 1048s # Running test: glib/objects-refcount2.test 1048s TAP version 14 1048s # random seed: R02S66d1d1f3c04b9ad4c364e633b542710d 1048s 1..1 1048s # Start of gobject tests 1048s # Start of refcount tests 1048s # init 0xc0b2a6866750 1048s # 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1048s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # Executing: glib/objects-refcount2.test 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1049s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1050s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1051s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1052s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1053s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # . 1054s # Executing: glib/objects-refcount2.test 1054s # . 1054s # . 1054s # . 1054s # . 1054s # dispose 0xc0b2a6866750! 1054s # 1054s ok 1 /gobject/refcount/object-advanced 1054s # slow test /gobject/refcount/object-advanced executed in 6.22 secs 1054s # End of refcount tests 1054s # End of gobject tests 1054s ok - glib/objects-refcount2.test 1054s # Running test: glib/deftype.test 1054s ok - glib/deftype.test 1054s # Running test: glib/mem-overflow.test 1054s TAP version 14 1054s # random seed: R02S96e2af56b6f6f69fa7eedc6660885807 1054s 1..2 1054s # Start of mem tests 1054s ok 1 /mem/overflow 1054s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1054s ok 2 /mem/empty-alloc 1054s # Start of overflow tests 1054s # Start of subprocess tests 1054s # End of subprocess tests 1054s # End of overflow tests 1054s # Start of empty-alloc tests 1054s # End of empty-alloc tests 1054s # End of mem tests 1054s ok - glib/mem-overflow.test 1054s # Running test: glib/binding.test 1054s TAP version 14 1054s # random seed: R02Sc60a701207246e4b08161dc66c4ede70 1054s 1..19 1054s # Start of binding tests 1054s ok 1 /binding/default 1054s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1054s ok 2 /binding/canonicalisation 1054s ok 3 /binding/bidirectional 1054s ok 4 /binding/transform 1054s ok 5 /binding/transform-default 1054s ok 6 /binding/transform-closure 1054s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1054s ok 7 /binding/chain 1054s ok 8 /binding/sync-create 1054s ok 9 /binding/invert-boolean 1054s ok 10 /binding/same-object 1054s ok 11 /binding/unbind 1054s ok 12 /binding/unbind-weak 1054s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1054s ok 13 /binding/unbind-multiple 1054s ok 14 /binding/fail 1054s ok 15 /binding/interface 1054s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1054s ok 16 /binding/concurrent-unbind 1054s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1054s ok 17 /binding/concurrent-finalizing 1054s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1054s ok 18 /binding/dispose-source 1054s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1054s ok 19 /binding/dispose-target 1054s # End of binding tests 1054s ok - glib/binding.test 1054s # Running test: glib/io-channel-basic.test 1054s TAP version 14 1054s # random seed: R02Sc0b36af7a84d3d83e58e26ea66715528 1054s 1..1 1054s # Start of gio tests 1054s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1054s # random seed: R02Se6986cb0ed5836ce5eda44936a4aeabc 1055s # GLib-DEBUG: io-channel-basic: child writing 8+2187 bytes to 6 1055s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1055s # GLib-DEBUG: io-channel-basic: ...from 5: 2187 bytes 1055s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1055s # GLib-DEBUG: io-channel-basic: child writing 8+1935 bytes to 6 1055s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1055s # GLib-DEBUG: io-channel-basic: ...from 5: 1935 bytes 1055s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1055s # GLib-DEBUG: io-channel-basic: child writing 8+3010 bytes to 6 1055s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1055s # GLib-DEBUG: io-channel-basic: ...from 5: 3010 bytes 1055s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1056s # GLib-DEBUG: io-channel-basic: child writing 8+3910 bytes to 6 1056s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1056s # GLib-DEBUG: io-channel-basic: ...from 5: 3910 bytes 1056s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1056s # GLib-DEBUG: io-channel-basic: child writing 8+2794 bytes to 6 1056s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1056s # GLib-DEBUG: io-channel-basic: ...from 5: 2794 bytes 1056s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1056s # GLib-DEBUG: io-channel-basic: child writing 8+4222 bytes to 6 1056s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1056s # GLib-DEBUG: io-channel-basic: ...from 5: 4222 bytes 1056s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1056s # GLib-DEBUG: io-channel-basic: child writing 8+1427 bytes to 6 1056s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1056s # GLib-DEBUG: io-channel-basic: ...from 5: 1427 bytes 1056s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1057s # GLib-DEBUG: io-channel-basic: child writing 8+3435 bytes to 6 1057s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1057s # GLib-DEBUG: io-channel-basic: ...from 5: 3435 bytes 1057s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1057s # GLib-DEBUG: io-channel-basic: child writing 8+2671 bytes to 6 1057s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1057s # GLib-DEBUG: io-channel-basic: ...from 5: 2671 bytes 1057s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1057s # GLib-DEBUG: io-channel-basic: child writing 8+993 bytes to 6 1057s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1057s # GLib-DEBUG: io-channel-basic: ...from 5: 993 bytes 1057s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1057s # GLib-DEBUG: io-channel-basic: child writing 8+1543 bytes to 6 1057s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1057s # GLib-DEBUG: io-channel-basic: ...from 5: 1543 bytes 1057s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1058s # GLib-DEBUG: io-channel-basic: child writing 8+2895 bytes to 6 1058s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1058s # GLib-DEBUG: io-channel-basic: ...from 5: 2895 bytes 1058s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1058s # GLib-DEBUG: io-channel-basic: child writing 8+1326 bytes to 6 1058s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1058s # GLib-DEBUG: io-channel-basic: ...from 5: 1326 bytes 1058s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1058s # GLib-DEBUG: io-channel-basic: child writing 8+1144 bytes to 6 1058s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1058s # GLib-DEBUG: io-channel-basic: ...from 5: 1144 bytes 1058s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1058s # GLib-DEBUG: io-channel-basic: child writing 8+405 bytes to 6 1058s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1058s # GLib-DEBUG: io-channel-basic: ...from 5: 405 bytes 1058s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1059s # GLib-DEBUG: io-channel-basic: child writing 8+4378 bytes to 6 1059s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1059s # GLib-DEBUG: io-channel-basic: ...from 5: 4378 bytes 1059s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1059s # GLib-DEBUG: io-channel-basic: child writing 8+4249 bytes to 6 1059s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1059s # GLib-DEBUG: io-channel-basic: ...from 5: 4249 bytes 1059s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1059s # GLib-DEBUG: io-channel-basic: child writing 8+2090 bytes to 6 1059s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1059s # GLib-DEBUG: io-channel-basic: ...from 5: 2090 bytes 1059s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1059s # Executing: glib/io-channel-basic.test 1059s # GLib-DEBUG: io-channel-basic: child writing 8+93 bytes to 6 1059s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1059s # GLib-DEBUG: io-channel-basic: ...from 5: 93 bytes 1059s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1060s # GLib-DEBUG: io-channel-basic: child writing 8+4795 bytes to 6 1060s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1060s # GLib-DEBUG: io-channel-basic: ...from 5: 4795 bytes 1060s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1060s # GLib-DEBUG: io-channel-basic: child writing 8+3290 bytes to 6 1060s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1060s # GLib-DEBUG: io-channel-basic: ...from 5: 3290 bytes 1060s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1060s # GLib-DEBUG: io-channel-basic: child writing 8+2996 bytes to 6 1060s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1060s # GLib-DEBUG: io-channel-basic: ...from 5: 2996 bytes 1060s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1060s # GLib-DEBUG: io-channel-basic: child writing 8+1824 bytes to 6 1060s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1060s # GLib-DEBUG: io-channel-basic: ...from 5: 1824 bytes 1060s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1061s # GLib-DEBUG: io-channel-basic: child writing 8+2244 bytes to 6 1061s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1061s # GLib-DEBUG: io-channel-basic: ...from 5: 2244 bytes 1061s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1061s # GLib-DEBUG: io-channel-basic: child writing 8+3676 bytes to 6 1061s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1061s # GLib-DEBUG: io-channel-basic: ...from 5: 3676 bytes 1061s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1061s # GLib-DEBUG: io-channel-basic: child writing 8+97 bytes to 6 1061s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1061s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1061s # GLib-DEBUG: io-channel-basic: ...from 5: 97 bytes 1061s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1061s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1061s # random seed: R02S590d81a67a9a6e261428cb64a7767d7b 1061s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1061s # random seed: R02S873fd9db5faa60d6e8fe8eb1517cbca6 1061s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1061s # random seed: R02S3d85da17dcd0dcabdc09396fd905d8dc 1061s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1061s # random seed: R02S244a68038d765c23f662534bdeb0acb2 1061s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1061s # random seed: R02S1407a9a43472ed27586afec219db0e76 1062s # GLib-DEBUG: io-channel-basic: child writing 8+3122 bytes to 13 1062s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 12: 3122 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+1752 bytes to 11 1062s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 10: 1752 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+2251 bytes to 9 1062s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 8: 2251 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+3036 bytes to 15 1062s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 14: 3036 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+1558 bytes to 17 1062s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 16: 1558 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+1113 bytes to 13 1062s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 12: 1113 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+2708 bytes to 9 1062s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 8: 2708 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+4280 bytes to 11 1062s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 10: 4280 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+2226 bytes to 15 1062s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 14: 2226 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+4797 bytes to 17 1062s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 16: 4797 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+3400 bytes to 11 1062s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 10: 3400 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+2115 bytes to 17 1062s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 16: 2115 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+4334 bytes to 13 1062s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 12: 4334 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+2396 bytes to 9 1062s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 8: 2396 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+4270 bytes to 15 1062s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 14: 4270 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+579 bytes to 17 1062s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 16: 579 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+2281 bytes to 9 1062s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 8: 2281 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+4254 bytes to 15 1062s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 14: 4254 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+4101 bytes to 11 1062s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 10: 4101 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1062s # GLib-DEBUG: io-channel-basic: child writing 8+740 bytes to 13 1062s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1062s # GLib-DEBUG: io-channel-basic: ...from 12: 740 bytes 1062s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+4229 bytes to 9 1063s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 8: 4229 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+2218 bytes to 17 1063s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 16: 2218 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+4056 bytes to 11 1063s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 10: 4056 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+3007 bytes to 15 1063s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 14: 3007 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+2513 bytes to 13 1063s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 12: 2513 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+3087 bytes to 17 1063s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 16: 3087 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+699 bytes to 9 1063s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 8: 699 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+540 bytes to 11 1063s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 10: 540 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+4734 bytes to 13 1063s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 12: 4734 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+1220 bytes to 15 1063s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 14: 1220 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+2456 bytes to 9 1063s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 8: 2456 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+3332 bytes to 17 1063s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 16: 3332 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+310 bytes to 15 1063s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 14: 310 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+4476 bytes to 13 1063s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 12: 4476 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+2920 bytes to 11 1063s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 10: 2920 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+2406 bytes to 17 1063s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 16: 2406 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+4732 bytes to 9 1063s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 8: 4732 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+4432 bytes to 13 1063s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 12: 4432 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1063s # GLib-DEBUG: io-channel-basic: child writing 8+1936 bytes to 11 1063s # GLib-DEBUG: io-channel-basic: child writing 8+3761 bytes to 15 1063s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 10: 1936 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1063s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1063s # GLib-DEBUG: io-channel-basic: ...from 14: 3761 bytes 1063s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+255 bytes to 17 1064s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 16: 255 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+4625 bytes to 9 1064s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 8: 4625 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+358 bytes to 11 1064s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 10: 358 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+4318 bytes to 13 1064s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 12: 4318 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+3014 bytes to 15 1064s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 14: 3014 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+495 bytes to 17 1064s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 16: 495 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+1103 bytes to 9 1064s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 8: 1103 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+1373 bytes to 11 1064s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 10: 1373 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+3266 bytes to 13 1064s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 12: 3266 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+171 bytes to 15 1064s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 14: 171 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+3860 bytes to 17 1064s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 16: 3860 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+4797 bytes to 9 1064s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 8: 4797 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+1047 bytes to 11 1064s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 10: 1047 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+2556 bytes to 13 1064s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 12: 2556 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+2047 bytes to 15 1064s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 14: 2047 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+1178 bytes to 17 1064s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 16: 1178 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1064s # Executing: glib/io-channel-basic.test 1064s # GLib-DEBUG: io-channel-basic: child writing 8+4243 bytes to 11 1064s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 10: 4243 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+4841 bytes to 9 1064s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 8: 4841 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+4852 bytes to 13 1064s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 12: 4852 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1064s # GLib-DEBUG: io-channel-basic: child writing 8+3301 bytes to 15 1064s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1064s # GLib-DEBUG: io-channel-basic: ...from 14: 3301 bytes 1064s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+4981 bytes to 17 1065s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 16: 4981 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+4770 bytes to 11 1065s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 10: 4770 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+2240 bytes to 9 1065s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 8: 2240 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+1372 bytes to 13 1065s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 12: 1372 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+3511 bytes to 15 1065s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 14: 3511 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+4545 bytes to 17 1065s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 16: 4545 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+2049 bytes to 11 1065s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 10: 2049 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+1564 bytes to 9 1065s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 8: 1564 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+3742 bytes to 13 1065s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 12: 3742 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+2386 bytes to 15 1065s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 14: 2386 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+1949 bytes to 17 1065s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 16: 1949 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+3616 bytes to 9 1065s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 8: 3616 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+145 bytes to 11 1065s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 10: 145 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+1173 bytes to 13 1065s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 12: 1173 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+1702 bytes to 15 1065s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 14: 1702 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+4455 bytes to 17 1065s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 16: 4455 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+4884 bytes to 9 1065s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 8: 4884 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+1381 bytes to 11 1065s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 10: 1381 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+4566 bytes to 13 1065s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1065s # GLib-DEBUG: io-channel-basic: ...from 12: 4566 bytes 1065s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1065s # GLib-DEBUG: io-channel-basic: child writing 8+340 bytes to 15 1066s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 14: 340 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+171 bytes to 17 1066s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 16: 171 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+3605 bytes to 9 1066s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 8: 3605 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+1961 bytes to 11 1066s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 10: 1961 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+1200 bytes to 13 1066s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 12: 1200 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+1842 bytes to 15 1066s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 14: 1842 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+2033 bytes to 17 1066s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 16: 2033 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+3836 bytes to 9 1066s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 8: 3836 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+3717 bytes to 11 1066s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 10: 3717 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+3420 bytes to 13 1066s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 12: 3420 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+3861 bytes to 15 1066s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 14: 3861 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+1917 bytes to 17 1066s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 16: 1917 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+2816 bytes to 9 1066s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 8: 2816 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+2498 bytes to 11 1066s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 10: 2498 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+1 bytes to 13 1066s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 12: 1 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+522 bytes to 15 1066s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 14: 522 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+1060 bytes to 17 1066s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1066s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1066s # GLib-DEBUG: io-channel-basic: ...from 16: 1060 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1066s # GLib-DEBUG: io-channel-basic: child writing 8+2784 bytes to 11 1066s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1066s # GLib-DEBUG: io-channel-basic: ...from 10: 2784 bytes 1066s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+1051 bytes to 9 1067s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 8: 1051 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+1011 bytes to 15 1067s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 14: 1011 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+4251 bytes to 13 1067s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 12: 4251 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+2166 bytes to 11 1067s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 10: 2166 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+4069 bytes to 9 1067s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1067s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1067s # GLib-DEBUG: io-channel-basic: ...from 8: 4069 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+2958 bytes to 15 1067s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 14: 2958 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+515 bytes to 13 1067s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 12: 515 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+560 bytes to 11 1067s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1067s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1067s # GLib-DEBUG: io-channel-basic: ...from 10: 560 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+3824 bytes to 13 1067s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 12: 3824 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+3612 bytes to 15 1067s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1067s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1067s # GLib-DEBUG: io-channel-basic: ...from 14: 3612 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1067s # GLib-DEBUG: io-channel-basic: child writing 8+3972 bytes to 13 1067s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1067s # GLib-DEBUG: io-channel-basic: ...from 12: 3972 bytes 1067s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1068s # GLib-DEBUG: io-channel-basic: child writing 8+2037 bytes to 13 1068s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1068s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1068s # GLib-DEBUG: io-channel-basic: ...from 12: 2037 bytes 1068s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1068s ok 1 /gio/io-basics 1068s # slow test /gio/io-basics executed in 13.06 secs 1068s # End of gio tests 1068s ok - glib/io-channel-basic.test 1068s # Running test: glib/memory-input-stream.test 1068s TAP version 14 1068s # random seed: R02Sb0255bfd74c3afb1272a6a75af841457 1068s 1..6 1068s # Start of memory-input-stream tests 1068s ok 1 /memory-input-stream/read-chunks 1068s ok 2 /memory-input-stream/async 1068s ok 3 /memory-input-stream/seek 1068s ok 4 /memory-input-stream/truncate 1068s ok 5 /memory-input-stream/read-bytes 1068s ok 6 /memory-input-stream/from-bytes 1068s # End of memory-input-stream tests 1068s ok - glib/memory-input-stream.test 1068s # Running test: glib/cxx-98.test 1068s TAP version 14 1068s # random seed: R02S0bca7c55df6825c392fdd461493cda94 1068s 1..2 1068s # Start of gtask tests 1068s # 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. 1068s ok 1 /gtask/name 1068s # Start of name tests 1068s # 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. 1068s ok 2 /gtask/name/macro-wrapper 1068s # End of name tests 1068s # End of gtask tests 1068s ok - glib/cxx-98.test 1068s # Running test: glib/mappedfile.test 1068s TAP version 14 1068s # random seed: R02S405ccbc532cf854fd30d63a5e7d0c792 1068s 1..7 1068s # Start of mappedfile tests 1068s ok 1 /mappedfile/basic 1068s ok 2 /mappedfile/empty 1068s ok 3 /mappedfile/device 1068s ok 4 /mappedfile/nonexisting 1068s ok 5 /mappedfile/writable 1068s ok 6 /mappedfile/writable_fd 1068s ok 7 /mappedfile/gbytes 1068s # End of mappedfile tests 1068s ok - glib/mappedfile.test 1068s # Running test: glib/timeout.test 1068s TAP version 14 1068s # random seed: R02Sefce589db910b5d07fbb6037f591bacc 1068s 1..5 1068s # Start of timeout tests 1068s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1069s # Executing: glib/timeout.test 1070s ok 1 /timeout/seconds 1070s # slow test /timeout/seconds executed in 2.10 secs 1072s ok 2 /timeout/seconds-once 1072s # slow test /timeout/seconds-once executed in 2.10 secs 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1074s ok 3 /timeout/weeks-overflow 1074s # slow test /timeout/weeks-overflow executed in 2.10 secs 1074s ok 4 /timeout/far-future-ready-time 1074s # Executing: glib/timeout.test 1079s # Executing: glib/timeout.test 1084s # Executing: glib/timeout.test 1084s ok 5 /timeout/rounding 1084s # slow test /timeout/rounding executed in 10.58 secs 1084s # End of timeout tests 1084s ok - glib/timeout.test 1084s # Running test: glib/enums.test 1084s TAP version 14 1084s # random seed: R02S348cc6d6f071b2ff71d04469fa98d6bf 1084s 1..4 1084s # Start of enum tests 1084s ok 1 /enum/basic 1084s ok 2 /enum/define-type 1084s # End of enum tests 1084s # Start of flags tests 1084s ok 3 /flags/basic 1084s ok 4 /flags/define-type 1084s # End of flags tests 1084s ok - glib/enums.test 1084s # Running test: glib/regex.test 1084s TAP version 14 1084s # random seed: R02S34ac1b3b8a415af26e61d2b1b70a438a 1084s 1..848 1084s # Start of regex tests 1084s ok 1 /regex/properties 1084s ok 2 /regex/class 1084s ok 3 /regex/lookahead 1085s ok 4 /regex/lookbehind 1085s ok 5 /regex/subpattern 1085s ok 6 /regex/condition 1085s ok 7 /regex/recursion 1085s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1085s ok 8 /regex/multiline 1085s ok 9 /regex/explicit-crlf 1085s ok 10 /regex/max-lookbehind 1085s ok 11 /regex/compile-errors 1085s ok 12 /regex/jit-unsupported-matching 1085s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1085s ok 13 /regex/unmatched-named-subpattern 1085s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1085s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1085s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1085s ok 14 /regex/compiled-regex-after-jit-failure 1085s # Start of new tests 1085s ok 15 /regex/new/1 1085s ok 16 /regex/new/2 1085s ok 17 /regex/new/3 1085s ok 18 /regex/new/4 1085s ok 19 /regex/new/5 1085s ok 20 /regex/new/6 1085s ok 21 /regex/new/7 1085s ok 22 /regex/new/8 1085s ok 23 /regex/new/9 1085s ok 24 /regex/new/10 1085s ok 25 /regex/new/11 1085s ok 26 /regex/new/12 1085s ok 27 /regex/new/13 1085s ok 28 /regex/new/14 1085s ok 29 /regex/new/15 1085s ok 30 /regex/new/16 1085s ok 31 /regex/new/17 1085s ok 32 /regex/new/18 1085s ok 33 /regex/new/19 1085s ok 34 /regex/new/71 1085s ok 35 /regex/new/80 1085s ok 36 /regex/new/82 1085s # End of new tests 1085s # Start of new-check-flags tests 1085s ok 37 /regex/new-check-flags/20 1085s ok 38 /regex/new-check-flags/21 1085s ok 39 /regex/new-check-flags/22 1085s ok 40 /regex/new-check-flags/23 1085s ok 41 /regex/new-check-flags/24 1085s ok 42 /regex/new-check-flags/25 1085s ok 43 /regex/new-check-flags/26 1085s ok 44 /regex/new-check-flags/27 1085s ok 45 /regex/new-check-flags/28 1085s ok 46 /regex/new-check-flags/29 1085s ok 47 /regex/new-check-flags/30 1085s ok 48 /regex/new-check-flags/31 1085s ok 49 /regex/new-check-flags/32 1085s ok 50 /regex/new-check-flags/33 1085s ok 51 /regex/new-check-flags/34 1085s ok 52 /regex/new-check-flags/35 1085s ok 53 /regex/new-check-flags/36 1085s # End of new-check-flags tests 1085s # Start of new-fail tests 1085s ok 54 /regex/new-fail/37 1085s ok 55 /regex/new-fail/38 1085s ok 56 /regex/new-fail/39 1085s ok 57 /regex/new-fail/40 1085s ok 58 /regex/new-fail/41 1085s ok 59 /regex/new-fail/42 1085s ok 60 /regex/new-fail/43 1085s ok 61 /regex/new-fail/44 1085s ok 62 /regex/new-fail/45 1085s ok 63 /regex/new-fail/46 1085s ok 64 /regex/new-fail/47 1085s ok 65 /regex/new-fail/48 1085s ok 66 /regex/new-fail/49 1085s ok 67 /regex/new-fail/50 1085s ok 68 /regex/new-fail/51 1085s ok 69 /regex/new-fail/52 1085s ok 70 /regex/new-fail/53 1085s ok 71 /regex/new-fail/54 1085s ok 72 /regex/new-fail/55 1085s ok 73 /regex/new-fail/56 1085s ok 74 /regex/new-fail/57 1085s ok 75 /regex/new-fail/58 1085s ok 76 /regex/new-fail/59 1085s ok 77 /regex/new-fail/60 1085s ok 78 /regex/new-fail/61 1085s ok 79 /regex/new-fail/62 1085s ok 80 /regex/new-fail/63 1085s ok 81 /regex/new-fail/64 1085s ok 82 /regex/new-fail/65 1085s ok 83 /regex/new-fail/66 1085s ok 84 /regex/new-fail/67 1085s ok 85 /regex/new-fail/68 1085s ok 86 /regex/new-fail/69 1085s ok 87 /regex/new-fail/70 1085s ok 88 /regex/new-fail/72 1085s ok 89 /regex/new-fail/73 1085s ok 90 /regex/new-fail/74 1085s ok 91 /regex/new-fail/75 1085s ok 92 /regex/new-fail/76 1085s ok 93 /regex/new-fail/77 1085s ok 94 /regex/new-fail/78 1085s ok 95 /regex/new-fail/79 1085s ok 96 /regex/new-fail/81 1085s ok 97 /regex/new-fail/83 1085s ok 98 /regex/new-fail/84 1085s ok 99 /regex/new-fail/85 1085s ok 100 /regex/new-fail/86 1085s ok 101 /regex/new-fail/87 1085s ok 102 /regex/new-fail/88 1085s ok 103 /regex/new-fail/89 1085s ok 104 /regex/new-fail/90 1085s ok 105 /regex/new-fail/91 1085s # End of new-fail tests 1085s # Start of match-simple tests 1085s ok 106 /regex/match-simple/92 1085s ok 107 /regex/match-simple/93 1085s ok 108 /regex/match-simple/94 1085s ok 109 /regex/match-simple/95 1085s ok 110 /regex/match-simple/96 1085s ok 111 /regex/match-simple/97 1085s ok 112 /regex/match-simple/98 1085s ok 113 /regex/match-simple/99 1085s ok 114 /regex/match-simple/100 1085s ok 115 /regex/match-simple/101 1085s ok 116 /regex/match-simple/102 1085s ok 117 /regex/match-simple/103 1085s ok 118 /regex/match-simple/104 1085s ok 119 /regex/match-simple/105 1085s ok 120 /regex/match-simple/106 1085s ok 121 /regex/match-simple/107 1085s ok 122 /regex/match-simple/108 1085s ok 123 /regex/match-simple/109 1085s ok 124 /regex/match-simple/110 1085s ok 125 /regex/match-simple/111 1085s ok 126 /regex/match-simple/112 1085s ok 127 /regex/match-simple/113 1085s ok 128 /regex/match-simple/114 1085s ok 129 /regex/match-simple/115 1085s ok 130 /regex/match-simple/116 1085s ok 131 /regex/match-simple/117 1085s ok 132 /regex/match-simple/118 1085s ok 133 /regex/match-simple/119 1085s ok 134 /regex/match-simple/120 1085s ok 135 /regex/match-simple/121 1085s ok 136 /regex/match-simple/122 1085s ok 137 /regex/match-simple/123 1085s ok 138 /regex/match-simple/124 1085s ok 139 /regex/match-simple/125 1085s ok 140 /regex/match-simple/126 1085s ok 141 /regex/match-simple/127 1085s ok 142 /regex/match-simple/128 1085s ok 143 /regex/match-simple/129 1085s ok 144 /regex/match-simple/130 1085s ok 145 /regex/match-simple/131 1085s ok 146 /regex/match-simple/132 1085s ok 147 /regex/match-simple/133 1085s ok 148 /regex/match-simple/134 1085s ok 149 /regex/match-simple/135 1085s ok 150 /regex/match-simple/136 1085s ok 151 /regex/match-simple/137 1085s ok 152 /regex/match-simple/138 1085s ok 153 /regex/match-simple/139 1085s ok 154 /regex/match-simple/140 1085s ok 155 /regex/match-simple/141 1085s ok 156 /regex/match-simple/142 1085s ok 157 /regex/match-simple/143 1085s ok 158 /regex/match-simple/144 1085s ok 159 /regex/match-simple/145 1085s ok 160 /regex/match-simple/146 1085s ok 161 /regex/match-simple/147 1085s ok 162 /regex/match-simple/148 1085s ok 163 /regex/match-simple/149 1085s ok 164 /regex/match-simple/150 1085s ok 165 /regex/match-simple/151 1085s ok 166 /regex/match-simple/152 1085s ok 167 /regex/match-simple/153 1085s ok 168 /regex/match-simple/154 1085s ok 169 /regex/match-simple/155 1085s ok 170 /regex/match-simple/156 1085s ok 171 /regex/match-simple/157 1085s ok 172 /regex/match-simple/158 1085s ok 173 /regex/match-simple/159 1085s ok 174 /regex/match-simple/160 1085s ok 175 /regex/match-simple/161 1085s ok 176 /regex/match-simple/162 1085s ok 177 /regex/match-simple/163 1085s ok 178 /regex/match-simple/164 1085s # End of match-simple tests 1085s # Start of match-simple-optimized tests 1085s ok 179 /regex/match-simple-optimized/92 1085s ok 180 /regex/match-simple-optimized/93 1085s ok 181 /regex/match-simple-optimized/94 1085s ok 182 /regex/match-simple-optimized/95 1085s ok 183 /regex/match-simple-optimized/96 1085s ok 184 /regex/match-simple-optimized/97 1085s ok 185 /regex/match-simple-optimized/98 1085s ok 186 /regex/match-simple-optimized/99 1085s ok 187 /regex/match-simple-optimized/100 1085s ok 188 /regex/match-simple-optimized/101 1085s ok 189 /regex/match-simple-optimized/102 1085s ok 190 /regex/match-simple-optimized/103 1085s ok 191 /regex/match-simple-optimized/104 1085s ok 192 /regex/match-simple-optimized/105 1085s ok 193 /regex/match-simple-optimized/106 1085s ok 194 /regex/match-simple-optimized/107 1085s ok 195 /regex/match-simple-optimized/108 1085s ok 196 /regex/match-simple-optimized/109 1085s ok 197 /regex/match-simple-optimized/110 1085s ok 198 /regex/match-simple-optimized/111 1085s ok 199 /regex/match-simple-optimized/112 1085s ok 200 /regex/match-simple-optimized/113 1085s ok 201 /regex/match-simple-optimized/114 1085s ok 202 /regex/match-simple-optimized/115 1085s ok 203 /regex/match-simple-optimized/116 1085s ok 204 /regex/match-simple-optimized/117 1085s ok 205 /regex/match-simple-optimized/118 1085s ok 206 /regex/match-simple-optimized/119 1085s ok 207 /regex/match-simple-optimized/120 1085s ok 208 /regex/match-simple-optimized/121 1085s ok 209 /regex/match-simple-optimized/122 1085s ok 210 /regex/match-simple-optimized/123 1085s ok 211 /regex/match-simple-optimized/124 1085s ok 212 /regex/match-simple-optimized/125 1085s ok 213 /regex/match-simple-optimized/126 1085s ok 214 /regex/match-simple-optimized/127 1085s ok 215 /regex/match-simple-optimized/128 1085s ok 216 /regex/match-simple-optimized/129 1085s ok 217 /regex/match-simple-optimized/130 1085s ok 218 /regex/match-simple-optimized/131 1085s ok 219 /regex/match-simple-optimized/132 1085s ok 220 /regex/match-simple-optimized/133 1085s ok 221 /regex/match-simple-optimized/134 1085s ok 222 /regex/match-simple-optimized/135 1085s ok 223 /regex/match-simple-optimized/136 1085s ok 224 /regex/match-simple-optimized/137 1085s ok 225 /regex/match-simple-optimized/138 1085s ok 226 /regex/match-simple-optimized/139 1085s ok 227 /regex/match-simple-optimized/140 1085s ok 228 /regex/match-simple-optimized/141 1085s ok 229 /regex/match-simple-optimized/142 1085s ok 230 /regex/match-simple-optimized/143 1085s ok 231 /regex/match-simple-optimized/144 1085s ok 232 /regex/match-simple-optimized/145 1085s ok 233 /regex/match-simple-optimized/146 1085s ok 234 /regex/match-simple-optimized/147 1085s ok 235 /regex/match-simple-optimized/148 1085s ok 236 /regex/match-simple-optimized/149 1085s ok 237 /regex/match-simple-optimized/150 1085s ok 238 /regex/match-simple-optimized/151 1085s ok 239 /regex/match-simple-optimized/152 1085s ok 240 /regex/match-simple-optimized/153 1085s ok 241 /regex/match-simple-optimized/154 1085s ok 242 /regex/match-simple-optimized/155 1085s ok 243 /regex/match-simple-optimized/156 1085s ok 244 /regex/match-simple-optimized/157 1085s ok 245 /regex/match-simple-optimized/158 1085s ok 246 /regex/match-simple-optimized/159 1085s ok 247 /regex/match-simple-optimized/160 1085s ok 248 /regex/match-simple-optimized/161 1085s ok 249 /regex/match-simple-optimized/162 1085s ok 250 /regex/match-simple-optimized/163 1085s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1085s ok 251 /regex/match-simple-optimized/164 1085s # End of match-simple-optimized tests 1085s # Start of match tests 1085s ok 252 /regex/match/165 1085s ok 253 /regex/match/166 1085s ok 254 /regex/match/167 1085s ok 255 /regex/match/168 1085s ok 256 /regex/match/169 1085s ok 257 /regex/match/170 1085s ok 258 /regex/match/171 1085s ok 259 /regex/match/172 1085s ok 260 /regex/match/173 1085s ok 261 /regex/match/174 1085s ok 262 /regex/match/175 1085s ok 263 /regex/match/176 1085s ok 264 /regex/match/177 1085s ok 265 /regex/match/178 1085s ok 266 /regex/match/179 1085s ok 267 /regex/match/180 1085s ok 268 /regex/match/181 1085s ok 269 /regex/match/182 1085s ok 270 /regex/match/183 1085s ok 271 /regex/match/184 1085s ok 272 /regex/match/185 1085s ok 273 /regex/match/186 1085s ok 274 /regex/match/187 1085s ok 275 /regex/match/188 1085s ok 276 /regex/match/189 1085s ok 277 /regex/match/190 1085s ok 278 /regex/match/191 1085s ok 279 /regex/match/192 1085s ok 280 /regex/match/193 1085s ok 281 /regex/match/194 1085s ok 282 /regex/match/195 1085s ok 283 /regex/match/196 1085s ok 284 /regex/match/197 1085s ok 285 /regex/match/198 1085s ok 286 /regex/match/199 1085s ok 287 /regex/match/200 1085s ok 288 /regex/match/201 1085s ok 289 /regex/match/202 1085s ok 290 /regex/match/203 1085s ok 291 /regex/match/204 1085s ok 292 /regex/match/205 1085s ok 293 /regex/match/206 1085s ok 294 /regex/match/207 1085s ok 295 /regex/match/208 1085s ok 296 /regex/match/209 1085s ok 297 /regex/match/210 1085s ok 298 /regex/match/211 1085s ok 299 /regex/match/212 1085s ok 300 /regex/match/213 1085s ok 301 /regex/match/214 1085s ok 302 /regex/match/215 1085s ok 303 /regex/match/216 1085s ok 304 /regex/match/217 1085s ok 305 /regex/match/218 1085s ok 306 /regex/match/219 1085s ok 307 /regex/match/220 1085s ok 308 /regex/match/221 1085s ok 309 /regex/match/222 1085s ok 310 /regex/match/223 1085s ok 311 /regex/match/224 1085s ok 312 /regex/match/225 1085s ok 313 /regex/match/226 1085s ok 314 /regex/match/227 1085s ok 315 /regex/match/228 1085s ok 316 /regex/match/229 1085s ok 317 /regex/match/230 1085s ok 318 /regex/match/231 1085s ok 319 /regex/match/232 1085s ok 320 /regex/match/233 1085s ok 321 /regex/match/234 1085s ok 322 /regex/match/235 1085s ok 323 /regex/match/236 1085s ok 324 /regex/match/237 1085s ok 325 /regex/match/238 1085s ok 326 /regex/match/239 1085s ok 327 /regex/match/240 1085s ok 328 /regex/match/241 1085s ok 329 /regex/match/242 1085s ok 330 /regex/match/243 1085s ok 331 /regex/match/244 1085s ok 332 /regex/match/245 1085s ok 333 /regex/match/246 1085s ok 334 /regex/match/partial281 1085s ok 335 /regex/match/partial282 1085s ok 336 /regex/match/partial283 1085s ok 337 /regex/match/partial284 1085s ok 338 /regex/match/partial285 1085s ok 339 /regex/match/partial286 1085s ok 340 /regex/match/partial287 1085s ok 341 /regex/match/partial288 1085s ok 342 /regex/match/partial289 1085s ok 343 /regex/match/partial290 1085s ok 344 /regex/match/partial291 1085s ok 345 /regex/match/partial292 1085s ok 346 /regex/match/partial293 1085s ok 347 /regex/match/partial294 1085s ok 348 /regex/match/partial295 1085s ok 349 /regex/match/partial296 1085s ok 350 /regex/match/partial297 1085s ok 351 /regex/match/partial298 1085s ok 352 /regex/match/partial299 1085s ok 353 /regex/match/partial300 1085s ok 354 /regex/match/partial301 1085s ok 355 /regex/match/partial302 1085s # Start of next0 tests 1085s ok 356 /regex/match/next0/247 1085s ok 357 /regex/match/next0/248 1085s ok 358 /regex/match/next0/249 1085s ok 359 /regex/match/next0/250 1085s # End of next0 tests 1085s # Start of next1 tests 1085s ok 360 /regex/match/next1/251 1085s ok 361 /regex/match/next1/252 1085s ok 362 /regex/match/next1/253 1085s ok 363 /regex/match/next1/254 1085s ok 364 /regex/match/next1/255 1085s # End of next1 tests 1085s # Start of next2 tests 1085s ok 365 /regex/match/next2/256 1085s ok 366 /regex/match/next2/257 1085s ok 367 /regex/match/next2/258 1085s ok 368 /regex/match/next2/259 1085s ok 369 /regex/match/next2/260 1085s ok 370 /regex/match/next2/261 1085s ok 371 /regex/match/next2/262 1085s ok 372 /regex/match/next2/263 1085s # End of next2 tests 1085s # Start of next3 tests 1085s ok 373 /regex/match/next3/264 1085s ok 374 /regex/match/next3/265 1085s ok 375 /regex/match/next3/266 1085s ok 376 /regex/match/next3/267 1085s ok 377 /regex/match/next3/268 1085s ok 378 /regex/match/next3/269 1085s # End of next3 tests 1085s # Start of next4 tests 1085s ok 379 /regex/match/next4/270 1085s # End of next4 tests 1085s # Start of count tests 1085s ok 380 /regex/match/count/271 1085s ok 381 /regex/match/count/272 1085s ok 382 /regex/match/count/273 1085s ok 383 /regex/match/count/274 1085s ok 384 /regex/match/count/275 1085s ok 385 /regex/match/count/276 1085s ok 386 /regex/match/count/277 1085s ok 387 /regex/match/count/278 1085s ok 388 /regex/match/count/279 1085s ok 389 /regex/match/count/280 1085s # End of count tests 1085s # Start of count-optimized tests 1085s ok 390 /regex/match/count-optimized/271 1085s ok 391 /regex/match/count-optimized/272 1085s ok 392 /regex/match/count-optimized/273 1085s ok 393 /regex/match/count-optimized/274 1085s ok 394 /regex/match/count-optimized/275 1085s ok 395 /regex/match/count-optimized/276 1085s ok 396 /regex/match/count-optimized/277 1085s ok 397 /regex/match/count-optimized/278 1085s ok 398 /regex/match/count-optimized/279 1085s ok 399 /regex/match/count-optimized/280 1085s # End of count-optimized tests 1085s # Start of partial-optimized tests 1085s ok 400 /regex/match/partial-optimized/281 1085s ok 401 /regex/match/partial-optimized/282 1085s ok 402 /regex/match/partial-optimized/283 1085s ok 403 /regex/match/partial-optimized/284 1085s ok 404 /regex/match/partial-optimized/285 1085s ok 405 /regex/match/partial-optimized/286 1085s ok 406 /regex/match/partial-optimized/287 1085s ok 407 /regex/match/partial-optimized/288 1085s ok 408 /regex/match/partial-optimized/289 1085s ok 409 /regex/match/partial-optimized/290 1085s ok 410 /regex/match/partial-optimized/291 1085s ok 411 /regex/match/partial-optimized/292 1085s ok 412 /regex/match/partial-optimized/293 1085s ok 413 /regex/match/partial-optimized/294 1085s ok 414 /regex/match/partial-optimized/295 1085s ok 415 /regex/match/partial-optimized/296 1085s ok 416 /regex/match/partial-optimized/297 1085s ok 417 /regex/match/partial-optimized/298 1085s ok 418 /regex/match/partial-optimized/299 1085s ok 419 /regex/match/partial-optimized/300 1085s ok 420 /regex/match/partial-optimized/301 1085s ok 421 /regex/match/partial-optimized/302 1085s # End of partial-optimized tests 1085s # Start of subpattern tests 1085s ok 422 /regex/match/subpattern/303 1085s ok 423 /regex/match/subpattern/304 1085s ok 424 /regex/match/subpattern/305 1085s ok 425 /regex/match/subpattern/306 1085s ok 426 /regex/match/subpattern/307 1085s ok 427 /regex/match/subpattern/308 1085s ok 428 /regex/match/subpattern/309 1085s ok 429 /regex/match/subpattern/310 1085s ok 430 /regex/match/subpattern/311 1085s ok 431 /regex/match/subpattern/312 1085s ok 432 /regex/match/subpattern/313 1085s ok 433 /regex/match/subpattern/314 1085s ok 434 /regex/match/subpattern/315 1085s # Start of named tests 1085s # Start of dupnames tests 1085s ok 435 /regex/match/subpattern/named/dupnames/325 1085s ok 436 /regex/match/subpattern/named/dupnames/326 1085s ok 437 /regex/match/subpattern/named/dupnames/327 1085s ok 438 /regex/match/subpattern/named/dupnames/328 1085s ok 439 /regex/match/subpattern/named/dupnames/329 1085s # End of dupnames tests 1085s # End of named tests 1085s # End of subpattern tests 1085s # Start of subpattern-optimized tests 1085s ok 440 /regex/match/subpattern-optimized/303 1085s ok 441 /regex/match/subpattern-optimized/304 1085s ok 442 /regex/match/subpattern-optimized/305 1085s ok 443 /regex/match/subpattern-optimized/306 1085s ok 444 /regex/match/subpattern-optimized/307 1085s ok 445 /regex/match/subpattern-optimized/308 1085s ok 446 /regex/match/subpattern-optimized/309 1085s ok 447 /regex/match/subpattern-optimized/310 1085s ok 448 /regex/match/subpattern-optimized/311 1085s ok 449 /regex/match/subpattern-optimized/312 1085s ok 450 /regex/match/subpattern-optimized/313 1085s ok 451 /regex/match/subpattern-optimized/314 1085s ok 452 /regex/match/subpattern-optimized/315 1085s # End of subpattern-optimized tests 1085s # Start of named tests 1085s # Start of subpattern tests 1085s ok 453 /regex/match/named/subpattern/316 1085s ok 454 /regex/match/named/subpattern/317 1085s ok 455 /regex/match/named/subpattern/318 1085s ok 456 /regex/match/named/subpattern/319 1085s ok 457 /regex/match/named/subpattern/320 1085s ok 458 /regex/match/named/subpattern/321 1085s ok 459 /regex/match/named/subpattern/322 1085s ok 460 /regex/match/named/subpattern/323 1085s ok 461 /regex/match/named/subpattern/324 1085s ok 462 /regex/match/named/subpattern/330 1085s ok 463 /regex/match/named/subpattern/331 1085s ok 464 /regex/match/named/subpattern/332 1085s ok 465 /regex/match/named/subpattern/333 1085s ok 466 /regex/match/named/subpattern/334 1085s # End of subpattern tests 1085s # End of named tests 1085s # End of match tests 1085s # Start of match-optimized tests 1085s ok 467 /regex/match-optimized/165 1085s ok 468 /regex/match-optimized/166 1085s ok 469 /regex/match-optimized/167 1085s ok 470 /regex/match-optimized/168 1085s ok 471 /regex/match-optimized/169 1085s ok 472 /regex/match-optimized/170 1085s ok 473 /regex/match-optimized/171 1085s ok 474 /regex/match-optimized/172 1085s ok 475 /regex/match-optimized/173 1085s ok 476 /regex/match-optimized/174 1085s ok 477 /regex/match-optimized/175 1085s ok 478 /regex/match-optimized/176 1085s ok 479 /regex/match-optimized/177 1085s ok 480 /regex/match-optimized/178 1085s ok 481 /regex/match-optimized/179 1085s ok 482 /regex/match-optimized/180 1085s ok 483 /regex/match-optimized/181 1085s ok 484 /regex/match-optimized/182 1085s ok 485 /regex/match-optimized/183 1085s ok 486 /regex/match-optimized/184 1085s ok 487 /regex/match-optimized/185 1085s ok 488 /regex/match-optimized/186 1085s ok 489 /regex/match-optimized/187 1085s ok 490 /regex/match-optimized/188 1085s ok 491 /regex/match-optimized/189 1085s ok 492 /regex/match-optimized/190 1085s ok 493 /regex/match-optimized/191 1085s ok 494 /regex/match-optimized/192 1085s ok 495 /regex/match-optimized/193 1085s ok 496 /regex/match-optimized/194 1085s ok 497 /regex/match-optimized/195 1085s ok 498 /regex/match-optimized/196 1085s ok 499 /regex/match-optimized/197 1085s ok 500 /regex/match-optimized/198 1085s ok 501 /regex/match-optimized/199 1085s ok 502 /regex/match-optimized/200 1085s ok 503 /regex/match-optimized/201 1085s ok 504 /regex/match-optimized/202 1085s ok 505 /regex/match-optimized/203 1085s ok 506 /regex/match-optimized/204 1085s ok 507 /regex/match-optimized/205 1085s ok 508 /regex/match-optimized/206 1085s ok 509 /regex/match-optimized/207 1085s ok 510 /regex/match-optimized/208 1085s ok 511 /regex/match-optimized/209 1085s ok 512 /regex/match-optimized/210 1085s ok 513 /regex/match-optimized/211 1085s ok 514 /regex/match-optimized/212 1085s ok 515 /regex/match-optimized/213 1085s ok 516 /regex/match-optimized/214 1085s ok 517 /regex/match-optimized/215 1085s ok 518 /regex/match-optimized/216 1085s ok 519 /regex/match-optimized/217 1085s ok 520 /regex/match-optimized/218 1085s ok 521 /regex/match-optimized/219 1085s ok 522 /regex/match-optimized/220 1085s ok 523 /regex/match-optimized/221 1085s ok 524 /regex/match-optimized/222 1085s ok 525 /regex/match-optimized/223 1085s ok 526 /regex/match-optimized/224 1085s ok 527 /regex/match-optimized/225 1085s ok 528 /regex/match-optimized/226 1085s ok 529 /regex/match-optimized/227 1085s ok 530 /regex/match-optimized/228 1085s ok 531 /regex/match-optimized/229 1085s ok 532 /regex/match-optimized/230 1085s ok 533 /regex/match-optimized/231 1085s ok 534 /regex/match-optimized/232 1085s ok 535 /regex/match-optimized/233 1085s ok 536 /regex/match-optimized/234 1085s ok 537 /regex/match-optimized/235 1085s ok 538 /regex/match-optimized/236 1085s ok 539 /regex/match-optimized/237 1085s ok 540 /regex/match-optimized/238 1085s ok 541 /regex/match-optimized/239 1085s ok 542 /regex/match-optimized/240 1085s ok 543 /regex/match-optimized/241 1085s ok 544 /regex/match-optimized/242 1085s ok 545 /regex/match-optimized/243 1085s ok 546 /regex/match-optimized/244 1085s ok 547 /regex/match-optimized/245 1085s ok 548 /regex/match-optimized/246 1085s # End of match-optimized tests 1085s # Start of fetch-all0 tests 1085s ok 549 /regex/fetch-all0/335 1085s ok 550 /regex/fetch-all0/336 1085s # End of fetch-all0 tests 1085s # Start of fetch-all1 tests 1085s ok 551 /regex/fetch-all1/337 1085s ok 552 /regex/fetch-all1/338 1085s ok 553 /regex/fetch-all1/339 1085s # End of fetch-all1 tests 1085s # Start of fetch-all2 tests 1085s ok 554 /regex/fetch-all2/340 1085s ok 555 /regex/fetch-all2/341 1085s ok 556 /regex/fetch-all2/342 1085s # End of fetch-all2 tests 1085s # Start of fetch-all3 tests 1085s ok 557 /regex/fetch-all3/343 1085s ok 558 /regex/fetch-all3/344 1085s ok 559 /regex/fetch-all3/345 1085s ok 560 /regex/fetch-all3/346 1085s ok 561 /regex/fetch-all3/347 1085s # End of fetch-all3 tests 1085s # Start of split tests 1085s # Start of simple0 tests 1085s ok 562 /regex/split/simple0/348 1085s ok 563 /regex/split/simple0/349 1085s ok 564 /regex/split/simple0/364 1085s ok 565 /regex/split/simple0/365 1085s # End of simple0 tests 1085s # Start of simple1 tests 1085s ok 566 /regex/split/simple1/350 1085s ok 567 /regex/split/simple1/351 1085s # End of simple1 tests 1085s # Start of simple2 tests 1085s ok 568 /regex/split/simple2/352 1085s ok 569 /regex/split/simple2/358 1085s ok 570 /regex/split/simple2/360 1085s # End of simple2 tests 1085s # Start of simple3 tests 1085s ok 571 /regex/split/simple3/353 1085s ok 572 /regex/split/simple3/354 1085s ok 573 /regex/split/simple3/355 1085s ok 574 /regex/split/simple3/356 1085s ok 575 /regex/split/simple3/357 1085s ok 576 /regex/split/simple3/359 1085s ok 577 /regex/split/simple3/361 1085s ok 578 /regex/split/simple3/362 1085s ok 579 /regex/split/simple3/363 1085s # End of simple3 tests 1085s # End of split tests 1085s # Start of split0 tests 1085s ok 580 /regex/split0/366 1085s ok 581 /regex/split0/368 1085s # End of split0 tests 1085s # Start of full-split0 tests 1085s ok 582 /regex/full-split0/367 1085s ok 583 /regex/full-split0/369 1085s ok 584 /regex/full-split0/370 1085s ok 585 /regex/full-split0/371 1085s ok 586 /regex/full-split0/372 1085s # End of full-split0 tests 1085s # Start of split1 tests 1085s ok 587 /regex/split1/373 1085s ok 588 /regex/split1/376 1085s # End of split1 tests 1085s # Start of full-split1 tests 1085s ok 589 /regex/full-split1/374 1085s ok 590 /regex/full-split1/375 1085s ok 591 /regex/full-split1/377 1085s ok 592 /regex/full-split1/378 1085s ok 593 /regex/full-split1/404 1085s # End of full-split1 tests 1085s # Start of split2 tests 1085s ok 594 /regex/split2/379 1085s ok 595 /regex/split2/383 1085s ok 596 /regex/split2/395 1085s # End of split2 tests 1085s # Start of full-split2 tests 1085s ok 597 /regex/full-split2/380 1085s ok 598 /regex/full-split2/381 1085s ok 599 /regex/full-split2/382 1085s ok 600 /regex/full-split2/384 1085s ok 601 /regex/full-split2/396 1085s ok 602 /regex/full-split2/399 1085s ok 603 /regex/full-split2/405 1085s # End of full-split2 tests 1085s # Start of split3 tests 1085s ok 604 /regex/split3/385 1085s ok 605 /regex/split3/387 1085s ok 606 /regex/split3/389 1085s ok 607 /regex/split3/391 1085s ok 608 /regex/split3/393 1085s ok 609 /regex/split3/397 1085s ok 610 /regex/split3/400 1085s ok 611 /regex/split3/402 1085s # End of split3 tests 1085s # Start of full-split3 tests 1085s ok 612 /regex/full-split3/386 1085s ok 613 /regex/full-split3/388 1085s ok 614 /regex/full-split3/390 1085s ok 615 /regex/full-split3/392 1085s ok 616 /regex/full-split3/394 1085s ok 617 /regex/full-split3/398 1085s ok 618 /regex/full-split3/401 1085s ok 619 /regex/full-split3/403 1085s ok 620 /regex/full-split3/406 1085s ok 621 /regex/full-split3/407 1085s # End of full-split3 tests 1085s # Start of check-repacement tests 1085s ok 622 /regex/check-repacement/408 1085s ok 623 /regex/check-repacement/409 1085s ok 624 /regex/check-repacement/410 1085s ok 625 /regex/check-repacement/411 1085s ok 626 /regex/check-repacement/412 1085s ok 627 /regex/check-repacement/413 1085s ok 628 /regex/check-repacement/414 1085s ok 629 /regex/check-repacement/415 1085s # End of check-repacement tests 1085s # Start of expand tests 1085s ok 630 /regex/expand/416 1085s ok 631 /regex/expand/417 1085s ok 632 /regex/expand/418 1085s ok 633 /regex/expand/419 1085s ok 634 /regex/expand/420 1085s ok 635 /regex/expand/421 1085s ok 636 /regex/expand/422 1085s ok 637 /regex/expand/423 1085s ok 638 /regex/expand/424 1085s ok 639 /regex/expand/425 1085s ok 640 /regex/expand/426 1085s ok 641 /regex/expand/427 1085s ok 642 /regex/expand/428 1085s ok 643 /regex/expand/429 1085s ok 644 /regex/expand/430 1085s ok 645 /regex/expand/431 1085s ok 646 /regex/expand/432 1085s ok 647 /regex/expand/433 1085s ok 648 /regex/expand/434 1085s ok 649 /regex/expand/435 1085s ok 650 /regex/expand/436 1085s ok 651 /regex/expand/437 1085s ok 652 /regex/expand/438 1085s ok 653 /regex/expand/439 1085s ok 654 /regex/expand/440 1085s ok 655 /regex/expand/441 1085s ok 656 /regex/expand/442 1085s ok 657 /regex/expand/443 1085s ok 658 /regex/expand/444 1085s ok 659 /regex/expand/445 1085s ok 660 /regex/expand/446 1085s ok 661 /regex/expand/447 1085s ok 662 /regex/expand/448 1085s ok 663 /regex/expand/449 1085s ok 664 /regex/expand/450 1085s ok 665 /regex/expand/451 1085s ok 666 /regex/expand/452 1085s ok 667 /regex/expand/453 1085s ok 668 /regex/expand/454 1085s ok 669 /regex/expand/455 1085s ok 670 /regex/expand/456 1085s ok 671 /regex/expand/457 1085s ok 672 /regex/expand/458 1085s ok 673 /regex/expand/459 1085s ok 674 /regex/expand/460 1085s ok 675 /regex/expand/461 1085s ok 676 /regex/expand/462 1085s ok 677 /regex/expand/463 1085s ok 678 /regex/expand/464 1085s ok 679 /regex/expand/465 1085s ok 680 /regex/expand/466 1085s ok 681 /regex/expand/467 1085s ok 682 /regex/expand/468 1085s ok 683 /regex/expand/469 1085s ok 684 /regex/expand/470 1085s ok 685 /regex/expand/471 1085s ok 686 /regex/expand/472 1085s ok 687 /regex/expand/473 1085s ok 688 /regex/expand/474 1085s ok 689 /regex/expand/475 1085s ok 690 /regex/expand/476 1085s ok 691 /regex/expand/477 1085s ok 692 /regex/expand/478 1085s ok 693 /regex/expand/479 1085s ok 694 /regex/expand/480 1085s ok 695 /regex/expand/481 1085s # End of expand tests 1085s # Start of replace tests 1085s ok 696 /regex/replace/482 1085s ok 697 /regex/replace/483 1085s ok 698 /regex/replace/484 1085s ok 699 /regex/replace/485 1085s ok 700 /regex/replace/486 1085s ok 701 /regex/replace/487 1085s ok 702 /regex/replace/488 1085s ok 703 /regex/replace/489 1085s ok 704 /regex/replace/490 1085s ok 705 /regex/replace/491 1085s ok 706 /regex/replace/492 1085s ok 707 /regex/replace/493 1085s ok 708 /regex/replace/494 1085s ok 709 /regex/replace/495 1085s ok 710 /regex/replace/496 1085s ok 711 /regex/replace/497 1085s ok 712 /regex/replace/498 1085s ok 713 /regex/replace/499 1085s ok 714 /regex/replace/500 1085s ok 715 /regex/replace/501 1085s ok 716 /regex/replace/502 1085s ok 717 /regex/replace/503 1085s ok 718 /regex/replace/504 1085s ok 719 /regex/replace/505 1085s ok 720 /regex/replace/506 1085s ok 721 /regex/replace/507 1085s ok 722 /regex/replace/508 1085s ok 723 /regex/replace/509 1085s # End of replace tests 1085s # Start of replace-optimized tests 1085s ok 724 /regex/replace-optimized/482 1085s ok 725 /regex/replace-optimized/483 1085s ok 726 /regex/replace-optimized/484 1085s ok 727 /regex/replace-optimized/485 1085s ok 728 /regex/replace-optimized/486 1085s ok 729 /regex/replace-optimized/487 1085s ok 730 /regex/replace-optimized/488 1085s ok 731 /regex/replace-optimized/489 1085s ok 732 /regex/replace-optimized/490 1085s ok 733 /regex/replace-optimized/491 1085s ok 734 /regex/replace-optimized/492 1085s ok 735 /regex/replace-optimized/493 1085s ok 736 /regex/replace-optimized/494 1085s ok 737 /regex/replace-optimized/495 1085s ok 738 /regex/replace-optimized/496 1085s ok 739 /regex/replace-optimized/497 1085s ok 740 /regex/replace-optimized/498 1085s ok 741 /regex/replace-optimized/499 1085s ok 742 /regex/replace-optimized/500 1085s ok 743 /regex/replace-optimized/501 1085s ok 744 /regex/replace-optimized/502 1085s ok 745 /regex/replace-optimized/503 1085s ok 746 /regex/replace-optimized/504 1085s ok 747 /regex/replace-optimized/505 1085s ok 748 /regex/replace-optimized/506 1085s ok 749 /regex/replace-optimized/507 1085s ok 750 /regex/replace-optimized/508 1085s ok 751 /regex/replace-optimized/509 1085s # End of replace-optimized tests 1085s # Start of replace-literally tests 1085s ok 752 /regex/replace-literally/510 1085s ok 753 /regex/replace-literally/511 1085s ok 754 /regex/replace-literally/512 1085s ok 755 /regex/replace-literally/513 1085s ok 756 /regex/replace-literally/514 1085s ok 757 /regex/replace-literally/515 1085s ok 758 /regex/replace-literally/516 1085s ok 759 /regex/replace-literally/517 1085s ok 760 /regex/replace-literally/518 1085s ok 761 /regex/replace-literally/519 1085s ok 762 /regex/replace-literally/520 1085s ok 763 /regex/replace-literally/521 1085s ok 764 /regex/replace-literally/522 1085s ok 765 /regex/replace-literally/523 1085s ok 766 /regex/replace-literally/524 1085s ok 767 /regex/replace-literally/525 1085s ok 768 /regex/replace-literally/526 1085s ok 769 /regex/replace-literally/527 1085s ok 770 /regex/replace-literally/528 1085s ok 771 /regex/replace-literally/529 1085s # End of replace-literally tests 1085s # Start of string-number tests 1085s ok 772 /regex/string-number/530 1085s ok 773 /regex/string-number/531 1085s ok 774 /regex/string-number/532 1085s ok 775 /regex/string-number/533 1085s ok 776 /regex/string-number/534 1085s ok 777 /regex/string-number/535 1085s ok 778 /regex/string-number/536 1085s ok 779 /regex/string-number/537 1085s ok 780 /regex/string-number/538 1085s ok 781 /regex/string-number/539 1085s ok 782 /regex/string-number/540 1085s ok 783 /regex/string-number/541 1085s ok 784 /regex/string-number/542 1085s ok 785 /regex/string-number/543 1085s ok 786 /regex/string-number/544 1085s # End of string-number tests 1085s # Start of escape_nul tests 1085s ok 787 /regex/escape_nul/545 1085s ok 788 /regex/escape_nul/546 1085s ok 789 /regex/escape_nul/547 1085s ok 790 /regex/escape_nul/548 1085s ok 791 /regex/escape_nul/549 1085s ok 792 /regex/escape_nul/550 1085s ok 793 /regex/escape_nul/551 1085s ok 794 /regex/escape_nul/552 1085s ok 795 /regex/escape_nul/553 1085s ok 796 /regex/escape_nul/554 1085s ok 797 /regex/escape_nul/555 1085s ok 798 /regex/escape_nul/556 1085s ok 799 /regex/escape_nul/557 1085s ok 800 /regex/escape_nul/558 1085s ok 801 /regex/escape_nul/559 1085s # End of escape_nul tests 1085s # Start of escape tests 1085s ok 802 /regex/escape/560 1085s ok 803 /regex/escape/561 1085s ok 804 /regex/escape/562 1085s ok 805 /regex/escape/563 1085s ok 806 /regex/escape/564 1085s ok 807 /regex/escape/565 1085s ok 808 /regex/escape/566 1085s ok 809 /regex/escape/567 1085s ok 810 /regex/escape/568 1085s ok 811 /regex/escape/569 1085s ok 812 /regex/escape/570 1085s ok 813 /regex/escape/571 1085s ok 814 /regex/escape/572 1085s ok 815 /regex/escape/573 1085s ok 816 /regex/escape/574 1085s ok 817 /regex/escape/575 1085s ok 818 /regex/escape/576 1085s ok 819 /regex/escape/577 1085s # End of escape tests 1085s # Start of match-all0 tests 1085s ok 820 /regex/match-all0/578 1085s ok 821 /regex/match-all0/580 1085s # End of match-all0 tests 1085s # Start of match-all-full0 tests 1085s ok 822 /regex/match-all-full0/579 1085s ok 823 /regex/match-all-full0/581 1085s ok 824 /regex/match-all-full0/582 1085s ok 825 /regex/match-all-full0/583 1085s # End of match-all-full0 tests 1085s # Start of match-all1 tests 1085s ok 826 /regex/match-all1/584 1085s ok 827 /regex/match-all1/586 1085s ok 828 /regex/match-all1/591 1085s # End of match-all1 tests 1085s # Start of match-all-full1 tests 1085s ok 829 /regex/match-all-full1/585 1085s ok 830 /regex/match-all-full1/587 1085s ok 831 /regex/match-all-full1/588 1085s ok 832 /regex/match-all-full1/589 1085s ok 833 /regex/match-all-full1/590 1085s ok 834 /regex/match-all-full1/592 1085s # End of match-all-full1 tests 1085s # Start of match-all2 tests 1085s ok 835 /regex/match-all2/593 1085s ok 836 /regex/match-all2/595 1085s ok 837 /regex/match-all2/597 1085s # End of match-all2 tests 1085s # Start of match-all-full2 tests 1085s ok 838 /regex/match-all-full2/594 1085s ok 839 /regex/match-all-full2/596 1085s ok 840 /regex/match-all-full2/598 1085s # End of match-all-full2 tests 1085s # Start of match-all3 tests 1085s ok 841 /regex/match-all3/599 1085s ok 842 /regex/match-all3/601 1085s # End of match-all3 tests 1085s # Start of match-all-full3 tests 1085s ok 843 /regex/match-all-full3/600 1085s ok 844 /regex/match-all-full3/602 1085s # End of match-all-full3 tests 1085s # Start of match-notempty tests 1085s ok 845 /regex/match-notempty/603 1085s # End of match-notempty tests 1085s # Start of match-notempty-optimized tests 1085s ok 846 /regex/match-notempty-optimized/603 1085s # End of match-notempty-optimized tests 1085s # Start of match-notempty-atstart tests 1085s ok 847 /regex/match-notempty-atstart/604 1085s # End of match-notempty-atstart tests 1085s # Start of match-notempty-atstart-optimized tests 1085s ok 848 /regex/match-notempty-atstart-optimized/604 1085s # End of match-notempty-atstart-optimized tests 1085s # End of regex tests 1085s ok - glib/regex.test 1085s # Running test: glib/sandbox.test 1085s TAP version 14 1085s # random seed: R02S9704d2ad0a3c9226b4258f1d285af943 1085s 1..4 1085s # Start of sandbox tests 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_BHQC22/sandbox/none/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_BHQC22/sandbox/none/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_BHQC22/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_BHQC22/sandbox/none/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_BHQC22/sandbox/none/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_BHQC22/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_BHQC22/sandbox/none/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_BHQC22/sandbox/none/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_BHQC22/sandbox/none/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_BHQC22/sandbox/none/.dirs/runtime 1085s ok 1 /sandbox/none 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_BHQC22/sandbox/snap/.dirs/runtime 1085s # Created snap.yaml in /tmp/test_sandbox_BHQC22/snap/current/meta/snap.yaml 1085s ok 2 /sandbox/snap 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_BHQC22/sandbox/classic-snap/.dirs/runtime 1085s # Created snap.yaml in /tmp/test_sandbox_BHQC22/snap/current/meta/snap.yaml 1085s ok 3 /sandbox/classic-snap 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/runtime 1085s # Creating .flatpak-info in /tmp/test_sandbox_BHQC22/sandbox/flatpak/.dirs/runtime/.flatpak-info 1085s ok 4 /sandbox/flatpak 1085s # End of sandbox tests 1085s ok - glib/sandbox.test 1085s # Running test: glib/codegen.py.test 1085s TAP version 13 1085s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1085s # tmpdir: /tmp/tmpam1eizb1 1085s # codegen: /usr/bin/gdbus-codegen 1085s # /tmp/tmpam1eizb1/tmpl93xdt5e.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpam1eizb1/tmpl93xdt5e.xml', '--output', '-', '--header'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifndef __STDOUT__ 1085s # #define __STDOUT__ 1085s # 1085s # #include 1085s # 1085s # G_BEGIN_DECLS 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # /* Declarations for org.project.UsefulInterface */ 1085s # 1085s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1085s # 1085s # struct _OrgProjectUsefulInterface; 1085s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1085s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1085s # 1085s # struct _OrgProjectUsefulInterfaceIface 1085s # { 1085s # GTypeInterface parent_iface; 1085s # 1085s # gboolean (*handle_useful_method) ( 1085s # OrgProjectUsefulInterface *object, 1085s # GDBusMethodInvocation *invocation); 1085s # 1085s # }; 1085s # 1085s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1085s # 1085s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1085s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1085s # 1085s # 1085s # /* D-Bus method call completion functions: */ 1085s # void org_project_useful_interface_complete_useful_method ( 1085s # OrgProjectUsefulInterface *object, 1085s # GDBusMethodInvocation *invocation); 1085s # 1085s # 1085s # 1085s # /* D-Bus method calls: */ 1085s # void org_project_useful_interface_call_useful_method ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data); 1085s # 1085s # gboolean org_project_useful_interface_call_useful_method_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error); 1085s # 1085s # gboolean org_project_useful_interface_call_useful_method_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GCancellable *cancellable, 1085s # GError **error); 1085s # 1085s # 1085s # 1085s # /* ---- */ 1085s # 1085s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1085s # 1085s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1085s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1085s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxy 1085s # { 1085s # /*< private >*/ 1085s # GDBusProxy parent_instance; 1085s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1085s # }; 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyClass 1085s # { 1085s # GDBusProxyClass parent_class; 1085s # }; 1085s # 1085s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1085s # 1085s # #if GLIB_CHECK_VERSION(2, 44, 0) 1085s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1085s # #endif 1085s # 1085s # void org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error); 1085s # 1085s # void org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error); 1085s # 1085s # 1085s # /* ---- */ 1085s # 1085s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1085s # 1085s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1085s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1085s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeleton 1085s # { 1085s # /*< private >*/ 1085s # GDBusInterfaceSkeleton parent_instance; 1085s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1085s # }; 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonClass 1085s # { 1085s # GDBusInterfaceSkeletonClass parent_class; 1085s # }; 1085s # 1085s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1085s # 1085s # #if GLIB_CHECK_VERSION(2, 44, 0) 1085s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1085s # #endif 1085s # 1085s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1085s # 1085s # 1085s # G_END_DECLS 1085s # 1085s # #endif /* __STDOUT__ */ 1085s # /tmp/tmpam1eizb1/tmpk5o7uajo.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpam1eizb1/tmpk5o7uajo.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifndef __STDOUT__ 1085s # #define __STDOUT__ 1085s # 1085s # #include 1085s # 1085s # G_BEGIN_DECLS 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # /* Declarations for org.project.UsefulInterface */ 1085s # 1085s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1085s # 1085s # struct _OrgProjectUsefulInterface; 1085s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1085s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1085s # 1085s # struct _OrgProjectUsefulInterfaceIface 1085s # { 1085s # GTypeInterface parent_iface; 1085s # 1085s # gboolean (*handle_useful_method) ( 1085s # OrgProjectUsefulInterface *object, 1085s # GDBusMethodInvocation *invocation); 1085s # 1085s # }; 1085s # 1085s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1085s # 1085s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1085s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1085s # 1085s # 1085s # /* D-Bus method call completion functions: */ 1085s # void org_project_useful_interface_complete_useful_method ( 1085s # OrgProjectUsefulInterface *object, 1085s # GDBusMethodInvocation *invocation); 1085s # 1085s # 1085s # 1085s # /* D-Bus method calls: */ 1085s # void org_project_useful_interface_call_useful_method ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data); 1085s # 1085s # gboolean org_project_useful_interface_call_useful_method_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error); 1085s # 1085s # gboolean org_project_useful_interface_call_useful_method_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GCancellable *cancellable, 1085s # GError **error); 1085s # 1085s # 1085s # 1085s # /* ---- */ 1085s # 1085s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1085s # 1085s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1085s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1085s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxy 1085s # { 1085s # /*< private >*/ 1085s # GDBusProxy parent_instance; 1085s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1085s # }; 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyClass 1085s # { 1085s # GDBusProxyClass parent_class; 1085s # }; 1085s # 1085s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1085s # 1085s # #if GLIB_CHECK_VERSION(2, 44, 0) 1085s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1085s # #endif 1085s # 1085s # void org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error); 1085s # 1085s # void org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error); 1085s # 1085s # 1085s # /* ---- */ 1085s # 1085s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1085s # 1085s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1085s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1085s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeleton 1085s # { 1085s # /*< private >*/ 1085s # GDBusInterfaceSkeleton parent_instance; 1085s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1085s # }; 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonClass 1085s # { 1085s # GDBusInterfaceSkeletonClass parent_class; 1085s # }; 1085s # 1085s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1085s # 1085s # #if GLIB_CHECK_VERSION(2, 44, 0) 1085s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1085s # #endif 1085s # 1085s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1085s # 1085s # 1085s # G_END_DECLS 1085s # 1085s # #endif /* __STDOUT__ */ 1085s # /tmp/tmpam1eizb1/tmpee37axt_.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpam1eizb1/tmpee37axt_.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifndef __STDOUT__ 1085s # #define __STDOUT__ 1085s # 1085s # #include 1085s # 1085s # G_BEGIN_DECLS 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # /* Declarations for org.project.UsefulInterface */ 1085s # 1085s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1085s # 1085s # struct _OrgProjectUsefulInterface; 1085s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1085s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1085s # 1085s # struct _OrgProjectUsefulInterfaceIface 1085s # { 1085s # GTypeInterface parent_iface; 1085s # 1085s # gboolean (*handle_useful_method) ( 1085s # OrgProjectUsefulInterface *object, 1085s # GDBusMethodInvocation *invocation); 1085s # 1085s # }; 1085s # 1085s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1085s # 1085s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1085s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1085s # 1085s # 1085s # /* D-Bus method call completion functions: */ 1085s # void org_project_useful_interface_complete_useful_method ( 1085s # OrgProjectUsefulInterface *object, 1085s # GDBusMethodInvocation *invocation); 1085s # 1085s # 1085s # 1085s # /* D-Bus method calls: */ 1085s # void org_project_useful_interface_call_useful_method ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GDBusCallFlags call_flags, 1085s # gint timeout_msec, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data); 1085s # 1085s # gboolean org_project_useful_interface_call_useful_method_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error); 1085s # 1085s # gboolean org_project_useful_interface_call_useful_method_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GDBusCallFlags call_flags, 1085s # gint timeout_msec, 1085s # GCancellable *cancellable, 1085s # GError **error); 1085s # 1085s # 1085s # 1085s # /* ---- */ 1085s # 1085s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1085s # 1085s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1085s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1085s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxy 1085s # { 1085s # /*< private >*/ 1085s # GDBusProxy parent_instance; 1085s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1085s # }; 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyClass 1085s # { 1085s # GDBusProxyClass parent_class; 1085s # }; 1085s # 1085s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1085s # 1085s # #if GLIB_CHECK_VERSION(2, 44, 0) 1085s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1085s # #endif 1085s # 1085s # void org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error); 1085s # 1085s # void org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error); 1085s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error); 1085s # 1085s # 1085s # /* ---- */ 1085s # 1085s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1085s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1085s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1085s # 1085s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1085s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1085s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeleton 1085s # { 1085s # /*< private >*/ 1085s # GDBusInterfaceSkeleton parent_instance; 1085s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1085s # }; 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonClass 1085s # { 1085s # GDBusInterfaceSkeletonClass parent_class; 1085s # }; 1085s # 1085s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1085s # 1085s # #if GLIB_CHECK_VERSION(2, 44, 0) 1085s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1085s # #endif 1085s # 1085s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1085s # 1085s # 1085s # G_END_DECLS 1085s # 1085s # #endif /* __STDOUT__ */ 1085s ok 2 __main__.TestCodegen.test_dbus_types 1086s # tmpdir: /tmp/tmp6jl1i7kh 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmp6jl1i7kh/tmpyyq7m4zg.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmpyyq7m4zg.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmpmcsw8ba4.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmpmcsw8ba4.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmpotv3p73t.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmpotv3p73t.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmpw2hetxf8.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmpw2hetxf8.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmp7f92zzre.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmp7f92zzre.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmpa9lwodqv.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmpa9lwodqv.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmpdu8gbd68.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmpdu8gbd68.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmpb_48vfq8.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmpb_48vfq8.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmp5g3scpds.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmp5g3scpds.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmprjz6v0wj.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmprjz6v0wj.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmphprzl1l3.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmphprzl1l3.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmp0vwladl9.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmp0vwladl9.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmpd8j2eum9.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmpd8j2eum9.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # /tmp/tmp6jl1i7kh/tmpg00b_et0.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmpg00b_et0.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface GoodTypes 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:GoodTypes 1086s # * @title: GoodTypes 1086s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1086s # * 1086s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for GoodTypes ---- */ 1086s # 1086s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "GoodPropertyType", 1086s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1086s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1086s # NULL 1086s # }, 1086s # "good-property-type", 1086s # FALSE, 1086s # TRUE 1086s # }; 1086s # 1086s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1086s # { 1086s # &_good_types_property_info_good_property_type.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "GoodTypes", 1086s # NULL, 1086s # NULL, 1086s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1086s # NULL 1086s # }, 1086s # "good-types", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * good_types_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # good_types_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * good_types_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1086s # { 1086s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # 1086s # /** 1086s # * GoodTypes: 1086s # * 1086s # * Abstract interface type for the D-Bus interface GoodTypes. 1086s # */ 1086s # 1086s # /** 1086s # * GoodTypesIface: 1086s # * @parent_iface: The parent interface. 1086s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1086s # * 1086s # * Virtual table for the D-Bus interface GoodTypes. 1086s # */ 1086s # 1086s # typedef GoodTypesIface GoodTypesInterface; 1086s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # good_types_default_init (GoodTypesIface *iface) 1086s # { 1086s # /* GObject properties for D-Bus properties: */ 1086s # /** 1086s # * GoodTypes:good-property-type: 1086s # * 1086s # * Represents the D-Bus property "GoodPropertyType". 1086s # * 1086s # * 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. 1086s # */ 1086s # g_object_interface_install_property (iface, 1086s # 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)); 1086s # } 1086s # 1086s # /** 1086s # * good_types_get_good_property_type: (skip) 1086s # * @object: A GoodTypes. 1086s # * 1086s # * Gets the value of the "GoodPropertyType" D-Bus property. 1086s # * 1086s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # GVariant * 1086s # good_types_get_good_property_type (GoodTypes *object) 1086s # { 1086s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1086s # 1086s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1086s # } 1086s # 1086s # /** 1086s # * good_types_dup_good_property_type: (skip) 1086s # * @object: A GoodTypes. 1086s # * 1086s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1086s # * 1086s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1086s # * 1086s # * 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(). 1086s # */ 1086s # GVariant * 1086s # good_types_dup_good_property_type (GoodTypes *object) 1086s # { 1086s # GVariant *value; 1086s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1086s # return value; 1086s # } 1086s # 1086s # /** 1086s # * good_types_set_good_property_type: (skip) 1086s # * @object: A GoodTypes. 1086s # * @value: The value to set. 1086s # * 1086s # * Sets the "GoodPropertyType" D-Bus property to @value. 1086s # * 1086s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1086s # */ 1086s # void 1086s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1086s # { 1086s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * GoodTypesProxy: 1086s # * 1086s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * GoodTypesProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for GoodTypesProxy. 1086s # */ 1086s # 1086s # struct _GoodTypesProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (GoodTypesProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # good_types_proxy_finalize (GObject *object) 1086s # { 1086s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_get_property (GObject *object, 1086s # guint prop_id, 1086s # GValue *value, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *variant; 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1086s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1086s # if (info->use_gvariant) 1086s # { 1086s # g_value_set_variant (value, variant); 1086s # } 1086s # else 1086s # { 1086s # if (variant != NULL) 1086s # g_dbus_gvariant_to_gvalue (variant, value); 1086s # } 1086s # if (variant != NULL) 1086s # g_variant_unref (variant); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1086s # GAsyncResult *res, 1086s # gpointer user_data) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info = user_data; 1086s # GError *error; 1086s # GVariant *_ret; 1086s # error = NULL; 1086s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1086s # if (!_ret) 1086s # { 1086s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1086s # info->parent_struct.name, 1086s # error->message, g_quark_to_string (error->domain), error->code); 1086s # g_error_free (error); 1086s # } 1086s # else 1086s # { 1086s # g_variant_unref (_ret); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_set_property (GObject *object, 1086s # guint prop_id, 1086s # const GValue *value, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *variant; 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1086s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1086s # "org.freedesktop.DBus.Properties.Set", 1086s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1086s # g_variant_unref (variant); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static GVariant * 1086s # good_types_proxy_get_good_property_type (GoodTypes *object) 1086s # { 1086s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1086s # GVariant *variant; 1086s # GVariant *value = NULL; 1086s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1086s # value = variant; 1086s # if (variant != NULL) 1086s # g_variant_unref (variant); 1086s # return value; 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_init (GoodTypesProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = good_types_proxy_finalize; 1086s # gobject_class->get_property = good_types_proxy_get_property; 1086s # gobject_class->set_property = good_types_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = good_types_proxy_g_signal; 1086s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1086s # 1086s # good_types_override_properties (gobject_class, 1); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_iface_init (GoodTypesIface *iface) 1086s # { 1086s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # good_types_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with good_types_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * good_types_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # good_types_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * GoodTypesSkeleton: 1086s # * 1086s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * GoodTypesSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for GoodTypesSkeleton. 1086s # */ 1086s # 1086s # struct _GoodTypesSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _good_types_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _good_types_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _good_types_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1086s # { 1086s # _good_types_skeleton_handle_method_call, 1086s # _good_types_skeleton_handle_get_property, 1086s # _good_types_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return good_types_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1086s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #else 1086s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #endif 1086s # if (_good_types_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static gboolean _good_types_emit_changed (gpointer user_data); 1086s # 1086s # static void 1086s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1086s # gboolean emit_changed = FALSE; 1086s # 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # { 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # skeleton->priv->changed_properties_idle_source = NULL; 1086s # emit_changed = TRUE; 1086s # } 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # 1086s # if (emit_changed) 1086s # _good_types_emit_changed (skeleton); 1086s # } 1086s # 1086s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (GoodTypesSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # good_types_skeleton_finalize (GObject *object) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # guint n; 1086s # for (n = 0; n < 1; n++) 1086s # g_value_unset (&skeleton->priv->properties[n]); 1086s # g_free (skeleton->priv->properties); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_get_property (GObject *object, 1086s # guint prop_id, 1086s # GValue *value, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # } 1086s # 1086s # static gboolean 1086s # _good_types_emit_changed (gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # GList *l; 1086s # GVariantBuilder builder; 1086s # GVariantBuilder invalidated_builder; 1086s # guint num_changes; 1086s # 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1086s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1086s # #else 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1086s # #endif 1086s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1086s # { 1086s # ChangedProperty *cp = l->data; 1086s # GVariant *variant; 1086s # const GValue *cur_value; 1086s # 1086s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1086s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1086s # { 1086s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1086s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1086s # g_variant_unref (variant); 1086s # num_changes++; 1086s # } 1086s # } 1086s # if (num_changes > 0) 1086s # { 1086s # GList *connections, *ll; 1086s # GVariant *signal_variant; 1086s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1086s # &builder, &invalidated_builder)); 1086s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1086s # for (ll = connections; ll != NULL; ll = ll->next) 1086s # { 1086s # GDBusConnection *connection = ll->data; 1086s # 1086s # g_dbus_connection_emit_signal (connection, 1086s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1086s # "org.freedesktop.DBus.Properties", 1086s # "PropertiesChanged", 1086s # signal_variant, 1086s # NULL); 1086s # } 1086s # g_variant_unref (signal_variant); 1086s # g_list_free_full (connections, g_object_unref); 1086s # } 1086s # else 1086s # { 1086s # g_variant_builder_clear (&builder); 1086s # g_variant_builder_clear (&invalidated_builder); 1086s # } 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # skeleton->priv->changed_properties = NULL; 1086s # skeleton->priv->changed_properties_idle_source = NULL; 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # return FALSE; 1086s # } 1086s # 1086s # static void 1086s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1086s # { 1086s # ChangedProperty *cp; 1086s # GList *l; 1086s # cp = NULL; 1086s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1086s # { 1086s # ChangedProperty *i_cp = l->data; 1086s # if (i_cp->info == info) 1086s # { 1086s # cp = i_cp; 1086s # break; 1086s # } 1086s # } 1086s # if (cp == NULL) 1086s # { 1086s # cp = g_new0 (ChangedProperty, 1); 1086s # cp->prop_id = prop_id; 1086s # cp->info = info; 1086s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1086s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1086s # g_value_copy (orig_value, &cp->orig_value); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_notify (GObject *object, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # if (skeleton->priv->changed_properties != NULL && 1086s # skeleton->priv->changed_properties_idle_source == NULL) 1086s # { 1086s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1086s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1086s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1086s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1086s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1086s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1086s # } 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_set_property (GObject *object, 1086s # guint prop_id, 1086s # const GValue *value, 1086s # GParamSpec *pspec) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # g_object_freeze_notify (object); 1086s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1086s # { 1086s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1086s # info->emits_changed_signal) 1086s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1086s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1086s # g_object_notify_by_pspec (object, pspec); 1086s # } 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # g_object_thaw_notify (object); 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # skeleton->priv->properties = g_new0 (GValue, 1); 1086s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1086s # } 1086s # 1086s # static GVariant * 1086s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # GVariant *value; 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # return value; 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = good_types_skeleton_finalize; 1086s # gobject_class->get_property = good_types_skeleton_get_property; 1086s # gobject_class->set_property = good_types_skeleton_set_property; 1086s # gobject_class->notify = good_types_skeleton_notify; 1086s # 1086s # 1086s # good_types_override_properties (gobject_class, 1); 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1086s # { 1086s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1086s # } 1086s # 1086s # /** 1086s # * good_types_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1086s # */ 1086s # GoodTypes * 1086s # good_types_skeleton_new (void) 1086s # { 1086s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp6jl1i7kh/tmprc_v8hyn.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmprc_v8hyn.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface GoodTypes 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:GoodTypes 1086s # * @title: GoodTypes 1086s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1086s # * 1086s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for GoodTypes ---- */ 1086s # 1086s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "GoodPropertyType", 1086s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1086s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1086s # NULL 1086s # }, 1086s # "good-property-type", 1086s # FALSE, 1086s # TRUE 1086s # }; 1086s # 1086s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1086s # { 1086s # &_good_types_property_info_good_property_type.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "GoodTypes", 1086s # NULL, 1086s # NULL, 1086s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1086s # NULL 1086s # }, 1086s # "good-types", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * good_types_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # good_types_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * good_types_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1086s # { 1086s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # 1086s # /** 1086s # * GoodTypes: 1086s # * 1086s # * Abstract interface type for the D-Bus interface GoodTypes. 1086s # */ 1086s # 1086s # /** 1086s # * GoodTypesIface: 1086s # * @parent_iface: The parent interface. 1086s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1086s # * 1086s # * Virtual table for the D-Bus interface GoodTypes. 1086s # */ 1086s # 1086s # typedef GoodTypesIface GoodTypesInterface; 1086s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # good_types_default_init (GoodTypesIface *iface) 1086s # { 1086s # /* GObject properties for D-Bus properties: */ 1086s # /** 1086s # * GoodTypes:good-property-type: 1086s # * 1086s # * Represents the D-Bus property "GoodPropertyType". 1086s # * 1086s # * 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. 1086s # */ 1086s # g_object_interface_install_property (iface, 1086s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1086s # } 1086s # 1086s # /** 1086s # * good_types_get_good_property_type: (skip) 1086s # * @object: A GoodTypes. 1086s # * 1086s # * Gets the value of the "GoodPropertyType" D-Bus property. 1086s # * 1086s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # GVariant * 1086s # good_types_get_good_property_type (GoodTypes *object) 1086s # { 1086s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1086s # 1086s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1086s # } 1086s # 1086s # /** 1086s # * good_types_dup_good_property_type: (skip) 1086s # * @object: A GoodTypes. 1086s # * 1086s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1086s # * 1086s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1086s # * 1086s # * 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(). 1086s # */ 1086s # GVariant * 1086s # good_types_dup_good_property_type (GoodTypes *object) 1086s # { 1086s # GVariant *value; 1086s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1086s # return value; 1086s # } 1086s # 1086s # /** 1086s # * good_types_set_good_property_type: (skip) 1086s # * @object: A GoodTypes. 1086s # * @value: The value to set. 1086s # * 1086s # * Sets the "GoodPropertyType" D-Bus property to @value. 1086s # * 1086s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1086s # */ 1086s # void 1086s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1086s # { 1086s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * GoodTypesProxy: 1086s # * 1086s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * GoodTypesProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for GoodTypesProxy. 1086s # */ 1086s # 1086s # struct _GoodTypesProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (GoodTypesProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # good_types_proxy_finalize (GObject *object) 1086s # { 1086s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_get_property (GObject *object, 1086s # guint prop_id, 1086s # GValue *value, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *variant; 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1086s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1086s # if (info->use_gvariant) 1086s # { 1086s # g_value_set_variant (value, variant); 1086s # } 1086s # else 1086s # { 1086s # if (variant != NULL) 1086s # g_dbus_gvariant_to_gvalue (variant, value); 1086s # } 1086s # if (variant != NULL) 1086s # g_variant_unref (variant); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1086s # GAsyncResult *res, 1086s # gpointer user_data) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info = user_data; 1086s # GError *error; 1086s # GVariant *_ret; 1086s # error = NULL; 1086s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1086s # if (!_ret) 1086s # { 1086s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1086s # info->parent_struct.name, 1086s # error->message, g_quark_to_string (error->domain), error->code); 1086s # g_error_free (error); 1086s # } 1086s # else 1086s # { 1086s # g_variant_unref (_ret); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_set_property (GObject *object, 1086s # guint prop_id, 1086s # const GValue *value, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *variant; 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1086s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1086s # "org.freedesktop.DBus.Properties.Set", 1086s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1086s # g_variant_unref (variant); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static GVariant * 1086s # good_types_proxy_get_good_property_type (GoodTypes *object) 1086s # { 1086s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1086s # GVariant *variant; 1086s # GVariant *value = NULL; 1086s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1086s # value = variant; 1086s # if (variant != NULL) 1086s # g_variant_unref (variant); 1086s # return value; 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_init (GoodTypesProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = good_types_proxy_finalize; 1086s # gobject_class->get_property = good_types_proxy_get_property; 1086s # gobject_class->set_property = good_types_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = good_types_proxy_g_signal; 1086s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1086s # 1086s # good_types_override_properties (gobject_class, 1); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_iface_init (GoodTypesIface *iface) 1086s # { 1086s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # good_types_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with good_types_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * good_types_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # good_types_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * GoodTypesSkeleton: 1086s # * 1086s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * GoodTypesSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for GoodTypesSkeleton. 1086s # */ 1086s # 1086s # struct _GoodTypesSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _good_types_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _good_types_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _good_types_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1086s # { 1086s # _good_types_skeleton_handle_method_call, 1086s # _good_types_skeleton_handle_get_property, 1086s # _good_types_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return good_types_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1086s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #else 1086s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #endif 1086s # if (_good_types_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static gboolean _good_types_emit_changed (gpointer user_data); 1086s # 1086s # static void 1086s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1086s # gboolean emit_changed = FALSE; 1086s # 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # { 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # skeleton->priv->changed_properties_idle_source = NULL; 1086s # emit_changed = TRUE; 1086s # } 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # 1086s # if (emit_changed) 1086s # _good_types_emit_changed (skeleton); 1086s # } 1086s # 1086s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (GoodTypesSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # good_types_skeleton_finalize (GObject *object) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # guint n; 1086s # for (n = 0; n < 1; n++) 1086s # g_value_unset (&skeleton->priv->properties[n]); 1086s # g_free (skeleton->priv->properties); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_get_property (GObject *object, 1086s # guint prop_id, 1086s # GValue *value, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # } 1086s # 1086s # static gboolean 1086s # _good_types_emit_changed (gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # GList *l; 1086s # GVariantBuilder builder; 1086s # GVariantBuilder invalidated_builder; 1086s # guint num_changes; 1086s # 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1086s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1086s # #else 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1086s # #endif 1086s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1086s # { 1086s # ChangedProperty *cp = l->data; 1086s # GVariant *variant; 1086s # const GValue *cur_value; 1086s # 1086s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1086s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1086s # { 1086s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1086s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1086s # g_variant_unref (variant); 1086s # num_changes++; 1086s # } 1086s # } 1086s # if (num_changes > 0) 1086s # { 1086s # GList *connections, *ll; 1086s # GVariant *signal_variant; 1086s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1086s # &builder, &invalidated_builder)); 1086s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1086s # for (ll = connections; ll != NULL; ll = ll->next) 1086s # { 1086s # GDBusConnection *connection = ll->data; 1086s # 1086s # g_dbus_connection_emit_signal (connection, 1086s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1086s # "org.freedesktop.DBus.Properties", 1086s # "PropertiesChanged", 1086s # signal_variant, 1086s # NULL); 1086s # } 1086s # g_variant_unref (signal_variant); 1086s # g_list_free_full (connections, g_object_unref); 1086s # } 1086s # else 1086s # { 1086s # g_variant_builder_clear (&builder); 1086s # g_variant_builder_clear (&invalidated_builder); 1086s # } 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # skeleton->priv->changed_properties = NULL; 1086s # skeleton->priv->changed_properties_idle_source = NULL; 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # return FALSE; 1086s # } 1086s # 1086s # static void 1086s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1086s # { 1086s # ChangedProperty *cp; 1086s # GList *l; 1086s # cp = NULL; 1086s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1086s # { 1086s # ChangedProperty *i_cp = l->data; 1086s # if (i_cp->info == info) 1086s # { 1086s # cp = i_cp; 1086s # break; 1086s # } 1086s # } 1086s # if (cp == NULL) 1086s # { 1086s # cp = g_new0 (ChangedProperty, 1); 1086s # cp->prop_id = prop_id; 1086s # cp->info = info; 1086s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1086s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1086s # g_value_copy (orig_value, &cp->orig_value); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_notify (GObject *object, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # if (skeleton->priv->changed_properties != NULL && 1086s # skeleton->priv->changed_properties_idle_source == NULL) 1086s # { 1086s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1086s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1086s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1086s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1086s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1086s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1086s # } 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_set_property (GObject *object, 1086s # guint prop_id, 1086s # const GValue *value, 1086s # GParamSpec *pspec) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # g_object_freeze_notify (object); 1086s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1086s # { 1086s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1086s # info->emits_changed_signal) 1086s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1086s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1086s # g_object_notify_by_pspec (object, pspec); 1086s # } 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # g_object_thaw_notify (object); 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # skeleton->priv->properties = g_new0 (GValue, 1); 1086s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1086s # } 1086s # 1086s # static GVariant * 1086s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # GVariant *value; 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # return value; 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = good_types_skeleton_finalize; 1086s # gobject_class->get_property = good_types_skeleton_get_property; 1086s # gobject_class->set_property = good_types_skeleton_set_property; 1086s # gobject_class->notify = good_types_skeleton_notify; 1086s # 1086s # 1086s # good_types_override_properties (gobject_class, 1); 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1086s # { 1086s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1086s # } 1086s # 1086s # /** 1086s # * good_types_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1086s # */ 1086s # GoodTypes * 1086s # good_types_skeleton_new (void) 1086s # { 1086s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp6jl1i7kh/tmprtaszwx3.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6jl1i7kh/tmprtaszwx3.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface GoodTypes 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:GoodTypes 1086s # * @title: GoodTypes 1086s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1086s # * 1086s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for GoodTypes ---- */ 1086s # 1086s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "GoodPropertyType", 1086s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1086s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1086s # NULL 1086s # }, 1086s # "good-property-type", 1086s # FALSE, 1086s # TRUE 1086s # }; 1086s # 1086s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1086s # { 1086s # &_good_types_property_info_good_property_type.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "GoodTypes", 1086s # NULL, 1086s # NULL, 1086s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1086s # NULL 1086s # }, 1086s # "good-types", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * good_types_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # good_types_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * good_types_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1086s # { 1086s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # 1086s # /** 1086s # * GoodTypes: 1086s # * 1086s # * Abstract interface type for the D-Bus interface GoodTypes. 1086s # */ 1086s # 1086s # /** 1086s # * GoodTypesIface: 1086s # * @parent_iface: The parent interface. 1086s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1086s # * 1086s # * Virtual table for the D-Bus interface GoodTypes. 1086s # */ 1086s # 1086s # typedef GoodTypesIface GoodTypesInterface; 1086s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # good_types_default_init (GoodTypesIface *iface) 1086s # { 1086s # /* GObject properties for D-Bus properties: */ 1086s # /** 1086s # * GoodTypes:good-property-type: 1086s # * 1086s # * Represents the D-Bus property "GoodPropertyType". 1086s # * 1086s # * 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. 1086s # */ 1086s # g_object_interface_install_property (iface, 1086s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1086s # } 1086s # 1086s # /** 1086s # * good_types_get_good_property_type: (skip) 1086s # * @object: A GoodTypes. 1086s # * 1086s # * Gets the value of the "GoodPropertyType" D-Bus property. 1086s # * 1086s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # GVariant * 1086s # good_types_get_good_property_type (GoodTypes *object) 1086s # { 1086s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1086s # 1086s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1086s # } 1086s # 1086s # /** 1086s # * good_types_dup_good_property_type: (skip) 1086s # * @object: A GoodTypes. 1086s # * 1086s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1086s # * 1086s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1086s # * 1086s # * 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(). 1086s # */ 1086s # GVariant * 1086s # good_types_dup_good_property_type (GoodTypes *object) 1086s # { 1086s # GVariant *value; 1086s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1086s # return value; 1086s # } 1086s # 1086s # /** 1086s # * good_types_set_good_property_type: (skip) 1086s # * @object: A GoodTypes. 1086s # * @value: The value to set. 1086s # * 1086s # * Sets the "GoodPropertyType" D-Bus property to @value. 1086s # * 1086s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1086s # */ 1086s # void 1086s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1086s # { 1086s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * GoodTypesProxy: 1086s # * 1086s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * GoodTypesProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for GoodTypesProxy. 1086s # */ 1086s # 1086s # struct _GoodTypesProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (GoodTypesProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # good_types_proxy_finalize (GObject *object) 1086s # { 1086s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_get_property (GObject *object, 1086s # guint prop_id, 1086s # GValue *value, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *variant; 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1086s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1086s # if (info->use_gvariant) 1086s # { 1086s # g_value_set_variant (value, variant); 1086s # } 1086s # else 1086s # { 1086s # if (variant != NULL) 1086s # g_dbus_gvariant_to_gvalue (variant, value); 1086s # } 1086s # if (variant != NULL) 1086s # g_variant_unref (variant); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1086s # GAsyncResult *res, 1086s # gpointer user_data) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info = user_data; 1086s # GError *error; 1086s # GVariant *_ret; 1086s # error = NULL; 1086s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1086s # if (!_ret) 1086s # { 1086s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1086s # info->parent_struct.name, 1086s # error->message, g_quark_to_string (error->domain), error->code); 1086s # g_error_free (error); 1086s # } 1086s # else 1086s # { 1086s # g_variant_unref (_ret); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_set_property (GObject *object, 1086s # guint prop_id, 1086s # const GValue *value, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *variant; 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1086s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1086s # "org.freedesktop.DBus.Properties.Set", 1086s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1086s # g_variant_unref (variant); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static GVariant * 1086s # good_types_proxy_get_good_property_type (GoodTypes *object) 1086s # { 1086s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1086s # GVariant *variant; 1086s # GVariant *value = NULL; 1086s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1086s # value = variant; 1086s # if (variant != NULL) 1086s # g_variant_unref (variant); 1086s # return value; 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_init (GoodTypesProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = good_types_proxy_finalize; 1086s # gobject_class->get_property = good_types_proxy_get_property; 1086s # gobject_class->set_property = good_types_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = good_types_proxy_g_signal; 1086s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1086s # 1086s # good_types_override_properties (gobject_class, 1); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # good_types_proxy_iface_init (GoodTypesIface *iface) 1086s # { 1086s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # good_types_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with good_types_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * good_types_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # good_types_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * good_types_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # GoodTypes * 1086s # good_types_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return GOOD_TYPES (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * GoodTypesSkeleton: 1086s # * 1086s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * GoodTypesSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for GoodTypesSkeleton. 1086s # */ 1086s # 1086s # struct _GoodTypesSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _good_types_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _good_types_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _good_types_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1086s # { 1086s # _good_types_skeleton_handle_method_call, 1086s # _good_types_skeleton_handle_get_property, 1086s # _good_types_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return good_types_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1086s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #else 1086s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #endif 1086s # if (_good_types_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static gboolean _good_types_emit_changed (gpointer user_data); 1086s # 1086s # static void 1086s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1086s # gboolean emit_changed = FALSE; 1086s # 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # { 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # skeleton->priv->changed_properties_idle_source = NULL; 1086s # emit_changed = TRUE; 1086s # } 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # 1086s # if (emit_changed) 1086s # _good_types_emit_changed (skeleton); 1086s # } 1086s # 1086s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (GoodTypesSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # good_types_skeleton_finalize (GObject *object) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # guint n; 1086s # for (n = 0; n < 1; n++) 1086s # g_value_unset (&skeleton->priv->properties[n]); 1086s # g_free (skeleton->priv->properties); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_get_property (GObject *object, 1086s # guint prop_id, 1086s # GValue *value, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # } 1086s # 1086s # static gboolean 1086s # _good_types_emit_changed (gpointer user_data) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1086s # GList *l; 1086s # GVariantBuilder builder; 1086s # GVariantBuilder invalidated_builder; 1086s # guint num_changes; 1086s # 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1086s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1086s # #else 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1086s # #endif 1086s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1086s # { 1086s # ChangedProperty *cp = l->data; 1086s # GVariant *variant; 1086s # const GValue *cur_value; 1086s # 1086s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1086s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1086s # { 1086s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1086s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1086s # g_variant_unref (variant); 1086s # num_changes++; 1086s # } 1086s # } 1086s # if (num_changes > 0) 1086s # { 1086s # GList *connections, *ll; 1086s # GVariant *signal_variant; 1086s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1086s # &builder, &invalidated_builder)); 1086s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1086s # for (ll = connections; ll != NULL; ll = ll->next) 1086s # { 1086s # GDBusConnection *connection = ll->data; 1086s # 1086s # g_dbus_connection_emit_signal (connection, 1086s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1086s # "org.freedesktop.DBus.Properties", 1086s # "PropertiesChanged", 1086s # signal_variant, 1086s # NULL); 1086s # } 1086s # g_variant_unref (signal_variant); 1086s # g_list_free_full (connections, g_object_unref); 1086s # } 1086s # else 1086s # { 1086s # g_variant_builder_clear (&builder); 1086s # g_variant_builder_clear (&invalidated_builder); 1086s # } 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # skeleton->priv->changed_properties = NULL; 1086s # skeleton->priv->changed_properties_idle_source = NULL; 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # return FALSE; 1086s # } 1086s # 1086s # static void 1086s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1086s # { 1086s # ChangedProperty *cp; 1086s # GList *l; 1086s # cp = NULL; 1086s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1086s # { 1086s # ChangedProperty *i_cp = l->data; 1086s # if (i_cp->info == info) 1086s # { 1086s # cp = i_cp; 1086s # break; 1086s # } 1086s # } 1086s # if (cp == NULL) 1086s # { 1086s # cp = g_new0 (ChangedProperty, 1); 1086s # cp->prop_id = prop_id; 1086s # cp->info = info; 1086s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1086s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1086s # g_value_copy (orig_value, &cp->orig_value); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_notify (GObject *object, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # if (skeleton->priv->changed_properties != NULL && 1086s # skeleton->priv->changed_properties_idle_source == NULL) 1086s # { 1086s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1086s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1086s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1086s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1086s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1086s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1086s # } 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_set_property (GObject *object, 1086s # guint prop_id, 1086s # const GValue *value, 1086s # GParamSpec *pspec) 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1086s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # g_object_freeze_notify (object); 1086s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1086s # { 1086s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1086s # info->emits_changed_signal) 1086s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1086s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1086s # g_object_notify_by_pspec (object, pspec); 1086s # } 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # g_object_thaw_notify (object); 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # skeleton->priv->properties = g_new0 (GValue, 1); 1086s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1086s # } 1086s # 1086s # static GVariant * 1086s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1086s # { 1086s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1086s # GVariant *value; 1086s # g_mutex_lock (&skeleton->priv->lock); 1086s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1086s # g_mutex_unlock (&skeleton->priv->lock); 1086s # return value; 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = good_types_skeleton_finalize; 1086s # gobject_class->get_property = good_types_skeleton_get_property; 1086s # gobject_class->set_property = good_types_skeleton_set_property; 1086s # gobject_class->notify = good_types_skeleton_notify; 1086s # 1086s # 1086s # good_types_override_properties (gobject_class, 1); 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1086s # { 1086s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1086s # } 1086s # 1086s # /** 1086s # * good_types_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1086s # * 1086s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1086s # */ 1086s # GoodTypes * 1086s # good_types_skeleton_new (void) 1086s # { 1086s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1086s # } 1086s ok 3 __main__.TestCodegen.test_empty_interface_body 1086s # tmpdir: /tmp/tmpvy9qpi15 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmpvy9qpi15/tmppyfr3m4v.xml: 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvy9qpi15/tmppyfr3m4v.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s ok 4 __main__.TestCodegen.test_empty_interface_header 1086s # tmpdir: /tmp/tmpd83416jf 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmpd83416jf/tmphw1gan17.xml: 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd83416jf/tmphw1gan17.xml', '--output', '-', '--header'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifndef __STDOUT__ 1086s # #define __STDOUT__ 1086s # 1086s # #include 1086s # 1086s # G_BEGIN_DECLS 1086s # 1086s # 1086s # G_END_DECLS 1086s # 1086s # #endif /* __STDOUT__ */ 1086s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1086s # tmpdir: /tmp/tmp6dhqhnos 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmp6dhqhnos/tmp39tppw_h.xml: 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6dhqhnos/tmp39tppw_h.xml', '--output', '-', '--interface-info-body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1086s # tmpdir: /tmp/tmpzshuu_m6 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmpzshuu_m6/tmp_3_fnm7l.xml: 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzshuu_m6/tmp_3_fnm7l.xml', '--output', '-', '--interface-info-header'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifndef __STDOUT__ 1086s # #define __STDOUT__ 1086s # 1086s # #include 1086s # 1086s # G_BEGIN_DECLS 1086s # 1086s # 1086s # G_END_DECLS 1086s # 1086s # #endif /* __STDOUT__ */ 1086s ok 7 __main__.TestCodegen.test_generate_docbook 1086s # tmpdir: /tmp/tmpkoo0sica 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmpkoo0sica/tmpmbkzpg0l.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkoo0sica/tmpmbkzpg0l.xml', '--generate-docbook', 'test'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: 1086s ok 8 __main__.TestCodegen.test_generate_md 1086s # tmpdir: /tmp/tmpllj7dgqb 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmpllj7dgqb/tmphf3u4mzd.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpllj7dgqb/tmphf3u4mzd.xml', '--generate-md', 'test'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: 1086s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1086s # tmpdir: /tmp/tmpg5_5hs6b 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmpg5_5hs6b/tmpm02tiyak.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg5_5hs6b/tmpm02tiyak.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.CallableIface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectCallableIface 1086s # * @title: OrgProjectCallableIface 1086s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.CallableIface ---- */ 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SimpleMethod", 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "handle-simple-method", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1086s # { 1086s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.CallableIface", 1086s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-callable-iface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_callable_iface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_callable_iface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_callable_iface_method_marshal_simple_method ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectCallableIface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.CallableIface. 1086s # */ 1086s # 1086s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectCallableIface::handle-simple-method: 1086s # * @object: A #OrgProjectCallableIface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-simple-method", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_callable_iface_method_marshal_simple_method, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_simple_method: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_callable_iface_call_simple_method ( 1086s # OrgProjectCallableIface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SimpleMethod", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_simple_method_finish: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_callable_iface_call_simple_method_finish ( 1086s # OrgProjectCallableIface *proxy, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_simple_method_sync: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_callable_iface_call_simple_method_sync ( 1086s # OrgProjectCallableIface *proxy, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SimpleMethod", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_complete_simple_method: 1086s # * @object: A #OrgProjectCallableIface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_callable_iface_complete_simple_method ( 1086s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("()")); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceProxy: 1086s # * 1086s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectCallableIfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectCallableIfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_callable_iface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1086s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1086s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_callable_iface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_callable_iface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceSkeleton: 1086s # * 1086s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectCallableIfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_callable_iface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_callable_iface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_callable_iface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1086s # { 1086s # _org_project_callable_iface_skeleton_handle_method_call, 1086s # _org_project_callable_iface_skeleton_handle_get_property, 1086s # _org_project_callable_iface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_callable_iface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1086s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #else 1086s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #endif 1086s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_callable_iface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.OtherCallableIface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectOtherCallableIface 1086s # * @title: OrgProjectOtherCallableIface 1086s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SimpleMethod", 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "handle-simple-method", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1086s # { 1086s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.OtherCallableIface", 1086s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-other-callable-iface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_other_callable_iface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_other_callable_iface_method_marshal_simple_method ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1086s # */ 1086s # 1086s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectOtherCallableIface::handle-simple-method: 1086s # * @object: A #OrgProjectOtherCallableIface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-simple-method", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_other_callable_iface_method_marshal_simple_method, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_call_simple_method: 1086s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_other_callable_iface_call_simple_method ( 1086s # OrgProjectOtherCallableIface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SimpleMethod", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_call_simple_method_finish: 1086s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_other_callable_iface_call_simple_method_finish ( 1086s # OrgProjectOtherCallableIface *proxy, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_call_simple_method_sync: 1086s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_other_callable_iface_call_simple_method_sync ( 1086s # OrgProjectOtherCallableIface *proxy, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SimpleMethod", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_complete_simple_method: 1086s # * @object: A #OrgProjectOtherCallableIface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_other_callable_iface_complete_simple_method ( 1086s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("()")); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceProxy: 1086s # * 1086s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1086s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1086s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_other_callable_iface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_other_callable_iface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceSkeleton: 1086s # * 1086s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1086s # { 1086s # _org_project_other_callable_iface_skeleton_handle_method_call, 1086s # _org_project_other_callable_iface_skeleton_handle_get_property, 1086s # _org_project_other_callable_iface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_other_callable_iface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1086s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #else 1086s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # #endif 1086s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1086s # } 1087s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1087s # tmpdir: /tmp/tmpeodfb4gi 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmpeodfb4gi/tmp_bb82izj.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmp_bb82izj.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # gboolean arg_arg_b, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_boolean (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_b", 1087s # (gchar *) "b", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodB", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-b", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_b: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-b", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_b, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_b: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_b: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_b ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gboolean arg_arg_b, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodB", 1087s # g_variant_new ("(b)", 1087s # arg_arg_b), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_b_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_b_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_b_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_b: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_b_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gboolean arg_arg_b, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodB", 1087s # g_variant_new ("(b)", 1087s # arg_arg_b), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_b: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_b ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmpiktzvfgu.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmpiktzvfgu.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # guchar arg_arg_y, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_uchar (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_y", 1087s # (gchar *) "y", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodY", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-y", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_y: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-y", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_y, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_y: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_y: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_y ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # guchar arg_arg_y, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodY", 1087s # g_variant_new ("(y)", 1087s # arg_arg_y), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_y_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_y_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_y_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_y: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_y_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # guchar arg_arg_y, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodY", 1087s # g_variant_new ("(y)", 1087s # arg_arg_y), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_y: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_y ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmpdm9zfz0o.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmpdm9zfz0o.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # gint16 arg_arg_n, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_int (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_n", 1087s # (gchar *) "n", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodN", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-n", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_n: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-n", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_n, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_n: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_n: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_n ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gint16 arg_arg_n, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodN", 1087s # g_variant_new ("(n)", 1087s # arg_arg_n), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_n_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_n_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_n_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_n: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_n_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gint16 arg_arg_n, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodN", 1087s # g_variant_new ("(n)", 1087s # arg_arg_n), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_n: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_n ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmpb6u02ln5.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmpb6u02ln5.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # guint16 arg_arg_q, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_uint (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_q", 1087s # (gchar *) "q", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodQ", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-q", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_q: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-q", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_q, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_q: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_q: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_q ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # guint16 arg_arg_q, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodQ", 1087s # g_variant_new ("(q)", 1087s # arg_arg_q), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_q_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_q_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_q_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_q: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_q_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # guint16 arg_arg_q, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodQ", 1087s # g_variant_new ("(q)", 1087s # arg_arg_q), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_q: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_q ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmpa1bu541k.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmpa1bu541k.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # gint arg_arg_i, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_int (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_i", 1087s # (gchar *) "i", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodI", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-i", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_i: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-i", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_i, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_i: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_i: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_i ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gint arg_arg_i, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodI", 1087s # g_variant_new ("(i)", 1087s # arg_arg_i), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_i_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_i_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_i_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_i: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_i_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gint arg_arg_i, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodI", 1087s # g_variant_new ("(i)", 1087s # arg_arg_i), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_i: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_i ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmprrlvzmbg.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmprrlvzmbg.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # guint arg_arg_u, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_uint (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_u", 1087s # (gchar *) "u", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodU", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-u", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_u: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-u", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_u, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_u: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_u: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_u ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # guint arg_arg_u, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodU", 1087s # g_variant_new ("(u)", 1087s # arg_arg_u), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_u_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_u_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_u_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_u: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_u_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # guint arg_arg_u, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodU", 1087s # g_variant_new ("(u)", 1087s # arg_arg_u), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_u: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_u ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmp8d7cyv3q.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmp8d7cyv3q.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # gint64 arg_arg_x, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_int64 (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_x", 1087s # (gchar *) "x", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodX", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-x", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_x: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-x", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_x, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_x: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_x: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_x ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gint64 arg_arg_x, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodX", 1087s # g_variant_new ("(x)", 1087s # arg_arg_x), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_x_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_x_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_x_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_x: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_x_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gint64 arg_arg_x, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodX", 1087s # g_variant_new ("(x)", 1087s # arg_arg_x), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_x: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_x ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmpec516spw.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmpec516spw.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # guint64 arg_arg_t, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_uint64 (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_t", 1087s # (gchar *) "t", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodT", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-t", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_t: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-t", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_t, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_t: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_t: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_t ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # guint64 arg_arg_t, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodT", 1087s # g_variant_new ("(t)", 1087s # arg_arg_t), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_t_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_t_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_t_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_t: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_t_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # guint64 arg_arg_t, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodT", 1087s # g_variant_new ("(t)", 1087s # arg_arg_t), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_t: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_t ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmp5tzx6o44.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmp5tzx6o44.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # gdouble arg_arg_d, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_double (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_d", 1087s # (gchar *) "d", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodD", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-d", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_d: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-d", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_d, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_d: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_d: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_d ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gdouble arg_arg_d, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodD", 1087s # g_variant_new ("(d)", 1087s # arg_arg_d), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_d_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_d_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_d_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_d: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_d_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # gdouble arg_arg_d, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodD", 1087s # g_variant_new ("(d)", 1087s # arg_arg_d), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_d: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_d ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmppw27vdiz.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmppw27vdiz.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # const gchar *arg_arg_s, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_string (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_s", 1087s # (gchar *) "s", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodS", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-s", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_s: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-s", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_s, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_s: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_s: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_s ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # const gchar *arg_arg_s, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodS", 1087s # g_variant_new ("(s)", 1087s # arg_arg_s), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_s_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_s_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_s_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_s: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_s_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # const gchar *arg_arg_s, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodS", 1087s # g_variant_new ("(s)", 1087s # arg_arg_s), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_s: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_s ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmphe0z2x2q.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmphe0z2x2q.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # const gchar *arg_arg_o, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_string (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_o", 1087s # (gchar *) "o", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodO", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-o", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_o: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-o", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_o, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_o: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_o: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_o ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # const gchar *arg_arg_o, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodO", 1087s # g_variant_new ("(o)", 1087s # arg_arg_o), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_o_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_o_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_o_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_o: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_o_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # const gchar *arg_arg_o, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodO", 1087s # g_variant_new ("(o)", 1087s # arg_arg_o), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_o: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_o ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmp2rzaiiz4.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmp2rzaiiz4.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # const gchar *arg_arg_g, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_string (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_g", 1087s # (gchar *) "g", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodG", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-g", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_g: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-g", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_g, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_g: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_g: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_g ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # const gchar *arg_arg_g, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodG", 1087s # g_variant_new ("(g)", 1087s # arg_arg_g), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_g_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_g_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_g_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_g: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_g_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # const gchar *arg_arg_g, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodG", 1087s # g_variant_new ("(g)", 1087s # arg_arg_g), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_g: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_g ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmpse9gekxj.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmpse9gekxj.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # GVariant *arg_arg_h, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_variant (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_h", 1087s # (gchar *) "h", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodH", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-h", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_h: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-h", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_h, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_h: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_h: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_h ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GVariant *arg_arg_h, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodH", 1087s # g_variant_new ("(@h)", 1087s # arg_arg_h), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_h_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_h_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_h_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_h: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_h_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GVariant *arg_arg_h, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodH", 1087s # g_variant_new ("(@h)", 1087s # arg_arg_h), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_h: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_h ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1087s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #else 1087s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # #endif 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmpeodfb4gi/tmpluaka54k.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmpluaka54k.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1087s # (void *data1, 1087s # GDBusMethodInvocation *arg_method_invocation, 1087s # const gchar *arg_arg_ay, 1087s # void *data2); 1087s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # gboolean v_return; 1087s # 1087s # g_return_if_fail (return_value != NULL); 1087s # g_return_if_fail (n_param_values == 3); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # v_return = 1087s # callback (data1, 1087s # g_marshal_value_peek_object (param_values + 1), 1087s # g_marshal_value_peek_string (param_values + 2), 1087s # data2); 1087s # 1087s # g_value_set_boolean (return_value, v_return); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_ay", 1087s # (gchar *) "ay", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgMethodAy", 1087s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "handle-single-arg-method-ay", 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1087s # NULL, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for incoming D-Bus method calls: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: A #GDBusMethodInvocation. 1087s # * @arg_arg_ay: Argument passed by remote caller. 1087s # * 1087s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1087s # * 1087s # * 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. 1087s # * 1087s # * 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. 1087s # */ 1087s # g_signal_new ("handle-single-arg-method-ay", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1087s # g_signal_accumulator_true_handled, 1087s # NULL, 1087s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1087s # G_TYPE_BOOLEAN, 1087s # 2, 1087s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_ay: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_ay: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1087s # */ 1087s # void 1087s # org_project_useful_interface_call_single_arg_method_ay ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # const gchar *arg_arg_ay, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodAy", 1087s # g_variant_new ("(^ay)", 1087s # arg_arg_ay), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # callback, 1087s # user_data); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1087s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1087s # * @arg_arg_ay: Argument to pass with the method invocation. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL. 1087s # * 1087s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1087s # * 1087s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1087s # */ 1087s # gboolean 1087s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1087s # OrgProjectUsefulInterface *proxy, 1087s # const gchar *arg_arg_ay, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GVariant *_ret; 1087s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1087s # "SingleArgMethodAy", 1087s # g_variant_new ("(^ay)", 1087s # arg_arg_ay), 1087s # G_DBUS_CALL_FLAGS_NONE, 1087s # -1, 1087s # cancellable, 1087s # error); 1087s # if (_ret == NULL) 1087s # goto _out; 1087s # g_variant_get (_ret, 1087s # "()"); 1087s # g_variant_unref (_ret); 1087s # _out: 1087s # return _ret != NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_complete_single_arg_method_ay: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1087s # * 1087s # * 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. 1087s # * 1087s # * This method will free @invocation, you cannot use it afterwards. 1087s # */ 1087s # void 1087s # org_project_useful_interface_complete_single_arg_method_ay ( 1087s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1087s # GDBusMethodInvocation *invocation) 1087s # { 1087s # g_dbus_method_invocation_return_value (invocation, 1087s # g_variant_new ("()")); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpeodfb4gi/tmpotylce5o.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmpotylce5o.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # const gchar *const *arg_arg_as, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 3); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # g_marshal_value_peek_boxed (param_values + 2), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodAs", 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-as", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * @arg_arg_as: Argument passed by remote caller. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-as", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_as, 1088s # G_TYPE_BOOLEAN, 1088s # 2, 1088s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_as: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @arg_arg_as: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_as ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # const gchar *const *arg_arg_as, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAs", 1088s # g_variant_new ("(^as)", 1088s # arg_arg_as), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_as_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_as_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_as_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @arg_arg_as: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_as_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # const gchar *const *arg_arg_as, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAs", 1088s # g_variant_new ("(^as)", 1088s # arg_arg_as), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_as: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_as ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpeodfb4gi/tmp0ip2lshe.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmp0ip2lshe.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # const gchar *const *arg_arg_ao, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 3); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # g_marshal_value_peek_boxed (param_values + 2), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodAo", 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-ao", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * @arg_arg_ao: Argument passed by remote caller. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-ao", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1088s # G_TYPE_BOOLEAN, 1088s # 2, 1088s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_ao: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @arg_arg_ao: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_ao ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # const gchar *const *arg_arg_ao, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAo", 1088s # g_variant_new ("(^ao)", 1088s # arg_arg_ao), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @arg_arg_ao: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # const gchar *const *arg_arg_ao, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAo", 1088s # g_variant_new ("(^ao)", 1088s # arg_arg_ao), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_ao: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_ao ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpeodfb4gi/tmplrvenki5.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmplrvenki5.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # const gchar *const *arg_arg_aay, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 3); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # g_marshal_value_peek_boxed (param_values + 2), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodAay", 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-aay", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * @arg_arg_aay: Argument passed by remote caller. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-aay", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1088s # G_TYPE_BOOLEAN, 1088s # 2, 1088s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_aay: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @arg_arg_aay: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_aay ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # const gchar *const *arg_arg_aay, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAay", 1088s # g_variant_new ("(^aay)", 1088s # arg_arg_aay), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @arg_arg_aay: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # const gchar *const *arg_arg_aay, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAay", 1088s # g_variant_new ("(^aay)", 1088s # arg_arg_aay), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_aay: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_aay ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpeodfb4gi/tmp3wyvo0mb.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeodfb4gi/tmp3wyvo0mb.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # GVariant *arg_arg_asv, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 3); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # g_marshal_value_peek_variant (param_values + 2), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodAsv", 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-asv", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * @arg_arg_asv: Argument passed by remote caller. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-asv", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1088s # G_TYPE_BOOLEAN, 1088s # 2, 1088s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_asv: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @arg_arg_asv: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_asv ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GVariant *arg_arg_asv, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAsv", 1088s # g_variant_new ("(@a{sv})", 1088s # arg_arg_asv), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @arg_arg_asv: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GVariant *arg_arg_asv, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAsv", 1088s # g_variant_new ("(@a{sv})", 1088s # arg_arg_asv), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_asv: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_asv ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1088s # tmpdir: /tmp/tmpwk70p2wc 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpwk70p2wc/tmp0hr0mye7.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmp0hr0mye7.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_b", 1088s # (gchar *) "b", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodB", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-b", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-b", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_b, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_b: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_b ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodB", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_b_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_b_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gboolean *out_arg_b, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(b)", 1088s # out_arg_b); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_b_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_b_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gboolean *out_arg_b, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodB", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(b)", 1088s # out_arg_b); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_b: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_b: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_b ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # gboolean arg_b) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(b)", 1088s # arg_b)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpe_br41rn.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpe_br41rn.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_y", 1088s # (gchar *) "y", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodY", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-y", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-y", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_y, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_y: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_y ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodY", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_y_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_y_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # guchar *out_arg_y, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(y)", 1088s # out_arg_y); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_y_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_y_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # guchar *out_arg_y, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodY", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(y)", 1088s # out_arg_y); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_y: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_y: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_y ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # guchar arg_y) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(y)", 1088s # arg_y)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpgjz3r5l2.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpgjz3r5l2.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_n", 1088s # (gchar *) "n", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodN", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-n", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-n", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_n, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_n: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_n ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodN", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_n_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_n_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gint16 *out_arg_n, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(n)", 1088s # out_arg_n); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_n_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_n_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gint16 *out_arg_n, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodN", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(n)", 1088s # out_arg_n); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_n: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_n: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_n ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # gint16 arg_n) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(n)", 1088s # arg_n)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpb128qcar.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpb128qcar.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_q", 1088s # (gchar *) "q", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodQ", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-q", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-q", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_q, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_q: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_q ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodQ", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_q_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_q_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # guint16 *out_arg_q, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(q)", 1088s # out_arg_q); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_q_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_q_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # guint16 *out_arg_q, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodQ", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(q)", 1088s # out_arg_q); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_q: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_q: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_q ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # guint16 arg_q) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(q)", 1088s # arg_q)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpp3gnck_6.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpp3gnck_6.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_i", 1088s # (gchar *) "i", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodI", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-i", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-i", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_i, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_i: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_i ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodI", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_i_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_i_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gint *out_arg_i, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(i)", 1088s # out_arg_i); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_i_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_i_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gint *out_arg_i, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodI", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(i)", 1088s # out_arg_i); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_i: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_i: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_i ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # gint arg_i) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(i)", 1088s # arg_i)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmp4fuc2xkg.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmp4fuc2xkg.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_u", 1088s # (gchar *) "u", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodU", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-u", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-u", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_u, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_u: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_u ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodU", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_u_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_u_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # guint *out_arg_u, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(u)", 1088s # out_arg_u); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_u_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_u_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # guint *out_arg_u, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodU", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(u)", 1088s # out_arg_u); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_u: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_u: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_u ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # guint arg_u) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(u)", 1088s # arg_u)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmp5hfrn9ia.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmp5hfrn9ia.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_x", 1088s # (gchar *) "x", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodX", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-x", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-x", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_x, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_x: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_x ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodX", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_x_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_x_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gint64 *out_arg_x, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(x)", 1088s # out_arg_x); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_x_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_x_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gint64 *out_arg_x, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodX", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(x)", 1088s # out_arg_x); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_x: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_x: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_x ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # gint64 arg_x) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(x)", 1088s # arg_x)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpnjkfgu5i.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpnjkfgu5i.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_t", 1088s # (gchar *) "t", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodT", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-t", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-t", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_t, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_t: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_t ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodT", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_t_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_t_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # guint64 *out_arg_t, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(t)", 1088s # out_arg_t); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_t_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_t_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # guint64 *out_arg_t, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodT", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(t)", 1088s # out_arg_t); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_t: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_t: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_t ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # guint64 arg_t) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(t)", 1088s # arg_t)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpzyjhm2c6.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpzyjhm2c6.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_d", 1088s # (gchar *) "d", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodD", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-d", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-d", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_d, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_d: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_d ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodD", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_d_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_d_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gdouble *out_arg_d, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(d)", 1088s # out_arg_d); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_d_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_d_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gdouble *out_arg_d, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodD", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(d)", 1088s # out_arg_d); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_d: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_d: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_d ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # gdouble arg_d) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(d)", 1088s # arg_d)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpmp9bdr4p.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpmp9bdr4p.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_s", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodS", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-s", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-s", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_s, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_s: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_s ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodS", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_s_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_s_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar **out_arg_s, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(s)", 1088s # out_arg_s); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_s_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_s_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar **out_arg_s, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodS", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(s)", 1088s # out_arg_s); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_s: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_s: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_s ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # const gchar *arg_s) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(s)", 1088s # arg_s)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpd_9uqt9r.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpd_9uqt9r.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_o", 1088s # (gchar *) "o", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodO", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-o", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-o", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_o, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_o: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_o ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodO", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_o_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_o_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar **out_arg_o, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(o)", 1088s # out_arg_o); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_o_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_o_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar **out_arg_o, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodO", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(o)", 1088s # out_arg_o); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_o: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_o: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_o ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # const gchar *arg_o) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(o)", 1088s # arg_o)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpyr9v6cei.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpyr9v6cei.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_g", 1088s # (gchar *) "g", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodG", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-g", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-g", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_g, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_g: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_g ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodG", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_g_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_g_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar **out_arg_g, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(g)", 1088s # out_arg_g); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_g_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_g_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar **out_arg_g, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodG", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(g)", 1088s # out_arg_g); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_g: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_g: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_g ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # const gchar *arg_g) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(g)", 1088s # arg_g)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpa7408tt4.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpa7408tt4.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_h", 1088s # (gchar *) "h", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodH", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-h", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-h", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_h, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_h: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_h ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodH", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_h_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_h_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GVariant **out_arg_h, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(@h)", 1088s # out_arg_h); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_h_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_h_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GVariant **out_arg_h, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodH", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(@h)", 1088s # out_arg_h); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_h: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_h: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_h ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # GVariant *arg_h) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(@h)", 1088s # arg_h)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpwplonxwr.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpwplonxwr.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_ay", 1088s # (gchar *) "ay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodAy", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-ay", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-ay", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_ay: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_ay ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAy", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar **out_arg_ay, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(^ay)", 1088s # out_arg_ay); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar **out_arg_ay, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAy", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(^ay)", 1088s # out_arg_ay); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_ay: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_ay: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_ay ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # const gchar *arg_ay) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(^ay)", 1088s # arg_ay)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmp3z6tn_z8.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmp3z6tn_z8.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodAs", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-as", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-as", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_as, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_as: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_as ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAs", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_as_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_as_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar ***out_arg_as, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(^as)", 1088s # out_arg_as); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_as_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_as_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar ***out_arg_as, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAs", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(^as)", 1088s # out_arg_as); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_as: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_as: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_as ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # const gchar *const *arg_as) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(^as)", 1088s # arg_as)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpdkhy8zjz.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpdkhy8zjz.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodAo", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-ao", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-ao", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_ao: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_ao ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAo", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar ***out_arg_ao, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(^ao)", 1088s # out_arg_ao); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar ***out_arg_ao, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAo", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(^ao)", 1088s # out_arg_ao); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_ao: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_ao: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_ao ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # const gchar *const *arg_ao) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(^ao)", 1088s # arg_ao)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpdkzhvu9t.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpdkzhvu9t.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodAay", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-aay", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-aay", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_aay: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_aay ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAay", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar ***out_arg_aay, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(^aay)", 1088s # out_arg_aay); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # gchar ***out_arg_aay, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAay", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(^aay)", 1088s # out_arg_aay); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_aay: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_aay: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_aay ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # const gchar *const *arg_aay) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(^aay)", 1088s # arg_aay)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmpwk70p2wc/tmpohsoeott.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk70p2wc/tmpohsoeott.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgMethodAsv", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-single-arg-method-asv", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-single-arg-method-asv", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_asv: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_useful_interface_call_single_arg_method_asv ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAsv", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GVariant **out_arg_asv, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(@a{sv})", 1088s # out_arg_asv); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1088s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1088s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1088s # OrgProjectUsefulInterface *proxy, 1088s # GVariant **out_arg_asv, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SingleArgMethodAsv", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(@a{sv})", 1088s # out_arg_asv); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_complete_single_arg_method_asv: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @arg_asv: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_useful_interface_complete_single_arg_method_asv ( 1088s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # GVariant *arg_asv) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(@a{sv})", 1088s # arg_asv)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeleton: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_useful_interface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_useful_interface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_useful_interface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1088s # { 1088s # _org_project_useful_interface_skeleton_handle_method_call, 1088s # _org_project_useful_interface_skeleton_handle_get_property, 1088s # _org_project_useful_interface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_useful_interface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectUsefulInterface * 1088s # org_project_useful_interface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1088s # } 1088s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1088s # tmpdir: /tmp/tmp6tpyh4l3 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmp6tpyh4l3/tmpe7asml13.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tpyh4l3/tmpe7asml13.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 20); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # g_marshal_value_peek_boolean (param_values + 2), 1088s # g_marshal_value_peek_uchar (param_values + 3), 1088s # g_marshal_value_peek_int (param_values + 4), 1088s # g_marshal_value_peek_uint (param_values + 5), 1088s # g_marshal_value_peek_int (param_values + 6), 1088s # g_marshal_value_peek_uint (param_values + 7), 1088s # g_marshal_value_peek_int64 (param_values + 8), 1088s # g_marshal_value_peek_uint64 (param_values + 9), 1088s # g_marshal_value_peek_double (param_values + 10), 1088s # g_marshal_value_peek_string (param_values + 11), 1088s # g_marshal_value_peek_string (param_values + 12), 1088s # g_marshal_value_peek_string (param_values + 13), 1088s # g_marshal_value_peek_variant (param_values + 14), 1088s # g_marshal_value_peek_string (param_values + 15), 1088s # g_marshal_value_peek_boxed (param_values + 16), 1088s # g_marshal_value_peek_boxed (param_values + 17), 1088s # g_marshal_value_peek_boxed (param_values + 18), 1088s # g_marshal_value_peek_variant (param_values + 19), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.CallableIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectCallableIface 1088s # * @title: OrgProjectCallableIface 1088s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.CallableIface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_b", 1088s # (gchar *) "b", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_y", 1088s # (gchar *) "y", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_n", 1088s # (gchar *) "n", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_q", 1088s # (gchar *) "q", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_i", 1088s # (gchar *) "i", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_u", 1088s # (gchar *) "u", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_x", 1088s # (gchar *) "x", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_t", 1088s # (gchar *) "t", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_d", 1088s # (gchar *) "d", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_s", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_o", 1088s # (gchar *) "o", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_g", 1088s # (gchar *) "g", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_h", 1088s # (gchar *) "h", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ay", 1088s # (gchar *) "ay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1088s # { 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "MethodWithManyArgs", 1088s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-method-with-many-args", 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_b", 1088s # (gchar *) "b", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_y", 1088s # (gchar *) "y", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_n", 1088s # (gchar *) "n", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_q", 1088s # (gchar *) "q", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_i", 1088s # (gchar *) "i", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_u", 1088s # (gchar *) "u", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_x", 1088s # (gchar *) "x", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_t", 1088s # (gchar *) "t", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_d", 1088s # (gchar *) "d", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_s", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_o", 1088s # (gchar *) "o", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_g", 1088s # (gchar *) "g", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_h", 1088s # (gchar *) "h", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ay", 1088s # (gchar *) "ay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1088s # { 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SameMethodWithManyArgs", 1088s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-same-method-with-many-args", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1088s # { 1088s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1088s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.CallableIface", 1088s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-callable-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_callable_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_callable_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_callable_iface_method_marshal_method_with_many_args ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _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, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _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, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectCallableIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1088s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.CallableIface. 1088s # */ 1088s # 1088s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectCallableIface::handle-method-with-many-args: 1088s # * @object: A #OrgProjectCallableIface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * @arg_an_b: Argument passed by remote caller. 1088s # * @arg_an_y: Argument passed by remote caller. 1088s # * @arg_an_n: Argument passed by remote caller. 1088s # * @arg_an_q: Argument passed by remote caller. 1088s # * @arg_an_i: Argument passed by remote caller. 1088s # * @arg_an_u: Argument passed by remote caller. 1088s # * @arg_an_x: Argument passed by remote caller. 1088s # * @arg_an_t: Argument passed by remote caller. 1088s # * @arg_an_d: Argument passed by remote caller. 1088s # * @arg_an_s: Argument passed by remote caller. 1088s # * @arg_an_o: Argument passed by remote caller. 1088s # * @arg_an_g: Argument passed by remote caller. 1088s # * @arg_an_h: Argument passed by remote caller. 1088s # * @arg_an_ay: Argument passed by remote caller. 1088s # * @arg_an_as: Argument passed by remote caller. 1088s # * @arg_an_ao: Argument passed by remote caller. 1088s # * @arg_an_aay: Argument passed by remote caller. 1088s # * @arg_an_asv: Argument passed by remote caller. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-method-with-many-args", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_callable_iface_method_marshal_method_with_many_args, 1088s # G_TYPE_BOOLEAN, 1088s # 19, 1088s # 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); 1088s # 1088s # /** 1088s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1088s # * @object: A #OrgProjectCallableIface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * @arg_an_b: Argument passed by remote caller. 1088s # * @arg_an_y: Argument passed by remote caller. 1088s # * @arg_an_n: Argument passed by remote caller. 1088s # * @arg_an_q: Argument passed by remote caller. 1088s # * @arg_an_i: Argument passed by remote caller. 1088s # * @arg_an_u: Argument passed by remote caller. 1088s # * @arg_an_x: Argument passed by remote caller. 1088s # * @arg_an_t: Argument passed by remote caller. 1088s # * @arg_an_d: Argument passed by remote caller. 1088s # * @arg_an_s: Argument passed by remote caller. 1088s # * @arg_an_o: Argument passed by remote caller. 1088s # * @arg_an_g: Argument passed by remote caller. 1088s # * @arg_an_h: Argument passed by remote caller. 1088s # * @arg_an_ay: Argument passed by remote caller. 1088s # * @arg_an_as: Argument passed by remote caller. 1088s # * @arg_an_ao: Argument passed by remote caller. 1088s # * @arg_an_aay: Argument passed by remote caller. 1088s # * @arg_an_asv: Argument passed by remote caller. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-same-method-with-many-args", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1088s # G_TYPE_BOOLEAN, 1088s # 19, 1088s # 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); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_call_method_with_many_args: 1088s # * @proxy: A #OrgProjectCallableIfaceProxy. 1088s # * @arg_an_b: Argument to pass with the method invocation. 1088s # * @arg_an_y: Argument to pass with the method invocation. 1088s # * @arg_an_n: Argument to pass with the method invocation. 1088s # * @arg_an_q: Argument to pass with the method invocation. 1088s # * @arg_an_i: Argument to pass with the method invocation. 1088s # * @arg_an_u: Argument to pass with the method invocation. 1088s # * @arg_an_x: Argument to pass with the method invocation. 1088s # * @arg_an_t: Argument to pass with the method invocation. 1088s # * @arg_an_d: Argument to pass with the method invocation. 1088s # * @arg_an_s: Argument to pass with the method invocation. 1088s # * @arg_an_o: Argument to pass with the method invocation. 1088s # * @arg_an_g: Argument to pass with the method invocation. 1088s # * @arg_an_h: Argument to pass with the method invocation. 1088s # * @arg_an_ay: Argument to pass with the method invocation. 1088s # * @arg_an_as: Argument to pass with the method invocation. 1088s # * @arg_an_ao: Argument to pass with the method invocation. 1088s # * @arg_an_aay: Argument to pass with the method invocation. 1088s # * @arg_an_asv: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_callable_iface_call_method_with_many_args ( 1088s # OrgProjectCallableIface *proxy, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "MethodWithManyArgs", 1088s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # arg_an_b, 1088s # arg_an_y, 1088s # arg_an_n, 1088s # arg_an_q, 1088s # arg_an_i, 1088s # arg_an_u, 1088s # arg_an_x, 1088s # arg_an_t, 1088s # arg_an_d, 1088s # arg_an_s, 1088s # arg_an_o, 1088s # arg_an_g, 1088s # arg_an_h, 1088s # arg_an_ay, 1088s # arg_an_as, 1088s # arg_an_ao, 1088s # arg_an_aay, 1088s # arg_an_asv), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_call_method_with_many_args_finish: 1088s # * @proxy: A #OrgProjectCallableIfaceProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_callable_iface_call_method_with_many_args_finish ( 1088s # OrgProjectCallableIface *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_call_method_with_many_args_sync: 1088s # * @proxy: A #OrgProjectCallableIfaceProxy. 1088s # * @arg_an_b: Argument to pass with the method invocation. 1088s # * @arg_an_y: Argument to pass with the method invocation. 1088s # * @arg_an_n: Argument to pass with the method invocation. 1088s # * @arg_an_q: Argument to pass with the method invocation. 1088s # * @arg_an_i: Argument to pass with the method invocation. 1088s # * @arg_an_u: Argument to pass with the method invocation. 1088s # * @arg_an_x: Argument to pass with the method invocation. 1088s # * @arg_an_t: Argument to pass with the method invocation. 1088s # * @arg_an_d: Argument to pass with the method invocation. 1088s # * @arg_an_s: Argument to pass with the method invocation. 1088s # * @arg_an_o: Argument to pass with the method invocation. 1088s # * @arg_an_g: Argument to pass with the method invocation. 1088s # * @arg_an_h: Argument to pass with the method invocation. 1088s # * @arg_an_ay: Argument to pass with the method invocation. 1088s # * @arg_an_as: Argument to pass with the method invocation. 1088s # * @arg_an_ao: Argument to pass with the method invocation. 1088s # * @arg_an_aay: Argument to pass with the method invocation. 1088s # * @arg_an_asv: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_callable_iface_call_method_with_many_args_sync ( 1088s # OrgProjectCallableIface *proxy, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "MethodWithManyArgs", 1088s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # arg_an_b, 1088s # arg_an_y, 1088s # arg_an_n, 1088s # arg_an_q, 1088s # arg_an_i, 1088s # arg_an_u, 1088s # arg_an_x, 1088s # arg_an_t, 1088s # arg_an_d, 1088s # arg_an_s, 1088s # arg_an_o, 1088s # arg_an_g, 1088s # arg_an_h, 1088s # arg_an_ay, 1088s # arg_an_as, 1088s # arg_an_ao, 1088s # arg_an_aay, 1088s # arg_an_asv), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_call_same_method_with_many_args: 1088s # * @proxy: A #OrgProjectCallableIfaceProxy. 1088s # * @arg_an_b: Argument to pass with the method invocation. 1088s # * @arg_an_y: Argument to pass with the method invocation. 1088s # * @arg_an_n: Argument to pass with the method invocation. 1088s # * @arg_an_q: Argument to pass with the method invocation. 1088s # * @arg_an_i: Argument to pass with the method invocation. 1088s # * @arg_an_u: Argument to pass with the method invocation. 1088s # * @arg_an_x: Argument to pass with the method invocation. 1088s # * @arg_an_t: Argument to pass with the method invocation. 1088s # * @arg_an_d: Argument to pass with the method invocation. 1088s # * @arg_an_s: Argument to pass with the method invocation. 1088s # * @arg_an_o: Argument to pass with the method invocation. 1088s # * @arg_an_g: Argument to pass with the method invocation. 1088s # * @arg_an_h: Argument to pass with the method invocation. 1088s # * @arg_an_ay: Argument to pass with the method invocation. 1088s # * @arg_an_as: Argument to pass with the method invocation. 1088s # * @arg_an_ao: Argument to pass with the method invocation. 1088s # * @arg_an_aay: Argument to pass with the method invocation. 1088s # * @arg_an_asv: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_callable_iface_call_same_method_with_many_args ( 1088s # OrgProjectCallableIface *proxy, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "SameMethodWithManyArgs", 1088s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # arg_an_b, 1088s # arg_an_y, 1088s # arg_an_n, 1088s # arg_an_q, 1088s # arg_an_i, 1088s # arg_an_u, 1088s # arg_an_x, 1088s # arg_an_t, 1088s # arg_an_d, 1088s # arg_an_s, 1088s # arg_an_o, 1088s # arg_an_g, 1088s # arg_an_h, 1088s # arg_an_ay, 1088s # arg_an_as, 1088s # arg_an_ao, 1088s # arg_an_aay, 1088s # arg_an_asv), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1088s # * @proxy: A #OrgProjectCallableIfaceProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1088s # OrgProjectCallableIface *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1088s # * @proxy: A #OrgProjectCallableIfaceProxy. 1088s # * @arg_an_b: Argument to pass with the method invocation. 1088s # * @arg_an_y: Argument to pass with the method invocation. 1088s # * @arg_an_n: Argument to pass with the method invocation. 1088s # * @arg_an_q: Argument to pass with the method invocation. 1088s # * @arg_an_i: Argument to pass with the method invocation. 1088s # * @arg_an_u: Argument to pass with the method invocation. 1088s # * @arg_an_x: Argument to pass with the method invocation. 1088s # * @arg_an_t: Argument to pass with the method invocation. 1088s # * @arg_an_d: Argument to pass with the method invocation. 1088s # * @arg_an_s: Argument to pass with the method invocation. 1088s # * @arg_an_o: Argument to pass with the method invocation. 1088s # * @arg_an_g: Argument to pass with the method invocation. 1088s # * @arg_an_h: Argument to pass with the method invocation. 1088s # * @arg_an_ay: Argument to pass with the method invocation. 1088s # * @arg_an_as: Argument to pass with the method invocation. 1088s # * @arg_an_ao: Argument to pass with the method invocation. 1088s # * @arg_an_aay: Argument to pass with the method invocation. 1088s # * @arg_an_asv: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1088s # OrgProjectCallableIface *proxy, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "SameMethodWithManyArgs", 1088s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # arg_an_b, 1088s # arg_an_y, 1088s # arg_an_n, 1088s # arg_an_q, 1088s # arg_an_i, 1088s # arg_an_u, 1088s # arg_an_x, 1088s # arg_an_t, 1088s # arg_an_d, 1088s # arg_an_s, 1088s # arg_an_o, 1088s # arg_an_g, 1088s # arg_an_h, 1088s # arg_an_ay, 1088s # arg_an_as, 1088s # arg_an_ao, 1088s # arg_an_aay, 1088s # arg_an_asv), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_complete_method_with_many_args: 1088s # * @object: A #OrgProjectCallableIface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_callable_iface_complete_method_with_many_args ( 1088s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_complete_same_method_with_many_args: 1088s # * @object: A #OrgProjectCallableIface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_callable_iface_complete_same_method_with_many_args ( 1088s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceProxy: 1088s # * 1088s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectCallableIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectCallableIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_callable_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_callable_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_callable_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectCallableIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_callable_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_callable_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_callable_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1088s # { 1088s # _org_project_callable_iface_skeleton_handle_method_call, 1088s # _org_project_callable_iface_skeleton_handle_get_property, 1088s # _org_project_callable_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_callable_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_callable_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.OtherCallableIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectOtherCallableIface 1088s # * @title: OrgProjectOtherCallableIface 1088s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_b", 1088s # (gchar *) "b", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_y", 1088s # (gchar *) "y", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_n", 1088s # (gchar *) "n", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_q", 1088s # (gchar *) "q", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_i", 1088s # (gchar *) "i", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_u", 1088s # (gchar *) "u", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_x", 1088s # (gchar *) "x", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_t", 1088s # (gchar *) "t", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_d", 1088s # (gchar *) "d", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_s", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_o", 1088s # (gchar *) "o", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_g", 1088s # (gchar *) "g", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_h", 1088s # (gchar *) "h", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ay", 1088s # (gchar *) "ay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1088s # { 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "MethodWithManyArgs", 1088s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-method-with-many-args", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1088s # { 1088s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.OtherCallableIface", 1088s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-other-callable-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_other_callable_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _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, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectOtherCallableIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectOtherCallableIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1088s # */ 1088s # 1088s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1088s # * @object: A #OrgProjectOtherCallableIface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * @arg_an_b: Argument passed by remote caller. 1088s # * @arg_an_y: Argument passed by remote caller. 1088s # * @arg_an_n: Argument passed by remote caller. 1088s # * @arg_an_q: Argument passed by remote caller. 1088s # * @arg_an_i: Argument passed by remote caller. 1088s # * @arg_an_u: Argument passed by remote caller. 1088s # * @arg_an_x: Argument passed by remote caller. 1088s # * @arg_an_t: Argument passed by remote caller. 1088s # * @arg_an_d: Argument passed by remote caller. 1088s # * @arg_an_s: Argument passed by remote caller. 1088s # * @arg_an_o: Argument passed by remote caller. 1088s # * @arg_an_g: Argument passed by remote caller. 1088s # * @arg_an_h: Argument passed by remote caller. 1088s # * @arg_an_ay: Argument passed by remote caller. 1088s # * @arg_an_as: Argument passed by remote caller. 1088s # * @arg_an_ao: Argument passed by remote caller. 1088s # * @arg_an_aay: Argument passed by remote caller. 1088s # * @arg_an_asv: Argument passed by remote caller. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-method-with-many-args", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1088s # G_TYPE_BOOLEAN, 1088s # 19, 1088s # 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); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_call_method_with_many_args: 1088s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1088s # * @arg_an_b: Argument to pass with the method invocation. 1088s # * @arg_an_y: Argument to pass with the method invocation. 1088s # * @arg_an_n: Argument to pass with the method invocation. 1088s # * @arg_an_q: Argument to pass with the method invocation. 1088s # * @arg_an_i: Argument to pass with the method invocation. 1088s # * @arg_an_u: Argument to pass with the method invocation. 1088s # * @arg_an_x: Argument to pass with the method invocation. 1088s # * @arg_an_t: Argument to pass with the method invocation. 1088s # * @arg_an_d: Argument to pass with the method invocation. 1088s # * @arg_an_s: Argument to pass with the method invocation. 1088s # * @arg_an_o: Argument to pass with the method invocation. 1088s # * @arg_an_g: Argument to pass with the method invocation. 1088s # * @arg_an_h: Argument to pass with the method invocation. 1088s # * @arg_an_ay: Argument to pass with the method invocation. 1088s # * @arg_an_as: Argument to pass with the method invocation. 1088s # * @arg_an_ao: Argument to pass with the method invocation. 1088s # * @arg_an_aay: Argument to pass with the method invocation. 1088s # * @arg_an_asv: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_other_callable_iface_call_method_with_many_args ( 1088s # OrgProjectOtherCallableIface *proxy, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "MethodWithManyArgs", 1088s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # arg_an_b, 1088s # arg_an_y, 1088s # arg_an_n, 1088s # arg_an_q, 1088s # arg_an_i, 1088s # arg_an_u, 1088s # arg_an_x, 1088s # arg_an_t, 1088s # arg_an_d, 1088s # arg_an_s, 1088s # arg_an_o, 1088s # arg_an_g, 1088s # arg_an_h, 1088s # arg_an_ay, 1088s # arg_an_as, 1088s # arg_an_ao, 1088s # arg_an_aay, 1088s # arg_an_asv), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1088s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1088s # OrgProjectOtherCallableIface *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1088s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1088s # * @arg_an_b: Argument to pass with the method invocation. 1088s # * @arg_an_y: Argument to pass with the method invocation. 1088s # * @arg_an_n: Argument to pass with the method invocation. 1088s # * @arg_an_q: Argument to pass with the method invocation. 1088s # * @arg_an_i: Argument to pass with the method invocation. 1088s # * @arg_an_u: Argument to pass with the method invocation. 1088s # * @arg_an_x: Argument to pass with the method invocation. 1088s # * @arg_an_t: Argument to pass with the method invocation. 1088s # * @arg_an_d: Argument to pass with the method invocation. 1088s # * @arg_an_s: Argument to pass with the method invocation. 1088s # * @arg_an_o: Argument to pass with the method invocation. 1088s # * @arg_an_g: Argument to pass with the method invocation. 1088s # * @arg_an_h: Argument to pass with the method invocation. 1088s # * @arg_an_ay: Argument to pass with the method invocation. 1088s # * @arg_an_as: Argument to pass with the method invocation. 1088s # * @arg_an_ao: Argument to pass with the method invocation. 1088s # * @arg_an_aay: Argument to pass with the method invocation. 1088s # * @arg_an_asv: Argument to pass with the method invocation. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1088s # OrgProjectOtherCallableIface *proxy, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "MethodWithManyArgs", 1088s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # arg_an_b, 1088s # arg_an_y, 1088s # arg_an_n, 1088s # arg_an_q, 1088s # arg_an_i, 1088s # arg_an_u, 1088s # arg_an_x, 1088s # arg_an_t, 1088s # arg_an_d, 1088s # arg_an_s, 1088s # arg_an_o, 1088s # arg_an_g, 1088s # arg_an_h, 1088s # arg_an_ay, 1088s # arg_an_as, 1088s # arg_an_ao, 1088s # arg_an_aay, 1088s # arg_an_asv), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_complete_method_with_many_args: 1088s # * @object: A #OrgProjectOtherCallableIface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_other_callable_iface_complete_method_with_many_args ( 1088s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectOtherCallableIfaceProxy: 1088s # * 1088s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectOtherCallableIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_other_callable_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectOtherCallableIface * 1088s # org_project_other_callable_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectOtherCallableIface * 1088s # org_project_other_callable_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_other_callable_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectOtherCallableIface * 1088s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectOtherCallableIface * 1088s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectOtherCallableIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectOtherCallableIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1088s # { 1088s # _org_project_other_callable_iface_skeleton_handle_method_call, 1088s # _org_project_other_callable_iface_skeleton_handle_get_property, 1088s # _org_project_other_callable_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_other_callable_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_other_callable_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectOtherCallableIface * 1088s # org_project_other_callable_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1088s # } 1088s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1088s # tmpdir: /tmp/tmpcwci26ts 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpcwci26ts/tmph710qv38.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcwci26ts/tmph710qv38.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.CallableIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectCallableIface 1088s # * @title: OrgProjectCallableIface 1088s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.CallableIface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_b", 1088s # (gchar *) "b", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_y", 1088s # (gchar *) "y", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_n", 1088s # (gchar *) "n", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_q", 1088s # (gchar *) "q", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_i", 1088s # (gchar *) "i", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_u", 1088s # (gchar *) "u", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_x", 1088s # (gchar *) "x", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_t", 1088s # (gchar *) "t", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_d", 1088s # (gchar *) "d", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_s", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_o", 1088s # (gchar *) "o", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_g", 1088s # (gchar *) "g", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_h", 1088s # (gchar *) "h", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ay", 1088s # (gchar *) "ay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1088s # { 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1088s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "MethodWithManyArgs", 1088s # NULL, 1088s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-method-with-many-args", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1088s # { 1088s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.CallableIface", 1088s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-callable-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_callable_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_callable_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_callable_iface_method_marshal_method_with_many_args ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectCallableIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.CallableIface. 1088s # */ 1088s # 1088s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectCallableIface::handle-method-with-many-args: 1088s # * @object: A #OrgProjectCallableIface. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-method-with-many-args", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_callable_iface_method_marshal_method_with_many_args, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_call_method_with_many_args: 1088s # * @proxy: A #OrgProjectCallableIfaceProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_callable_iface_call_method_with_many_args ( 1088s # OrgProjectCallableIface *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "MethodWithManyArgs", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_call_method_with_many_args_finish: 1088s # * @proxy: A #OrgProjectCallableIfaceProxy. 1088s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_callable_iface_call_method_with_many_args_finish ( 1088s # OrgProjectCallableIface *proxy, 1088s # gboolean *out_an_b, 1088s # guchar *out_an_y, 1088s # gint16 *out_an_n, 1088s # guint16 *out_an_q, 1088s # gint *out_an_i, 1088s # guint *out_an_u, 1088s # gint64 *out_an_x, 1088s # guint64 *out_an_t, 1088s # gdouble *out_an_d, 1088s # gchar **out_an_s, 1088s # gchar **out_an_o, 1088s # gchar **out_an_g, 1088s # GVariant **out_an_h, 1088s # gchar **out_an_ay, 1088s # gchar ***out_an_as, 1088s # gchar ***out_an_ao, 1088s # gchar ***out_an_aay, 1088s # GVariant **out_an_asv, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # out_an_b, 1088s # out_an_y, 1088s # out_an_n, 1088s # out_an_q, 1088s # out_an_i, 1088s # out_an_u, 1088s # out_an_x, 1088s # out_an_t, 1088s # out_an_d, 1088s # out_an_s, 1088s # out_an_o, 1088s # out_an_g, 1088s # out_an_h, 1088s # out_an_ay, 1088s # out_an_as, 1088s # out_an_ao, 1088s # out_an_aay, 1088s # out_an_asv); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_call_method_with_many_args_sync: 1088s # * @proxy: A #OrgProjectCallableIfaceProxy. 1088s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1088s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_callable_iface_call_method_with_many_args_sync ( 1088s # OrgProjectCallableIface *proxy, 1088s # gboolean *out_an_b, 1088s # guchar *out_an_y, 1088s # gint16 *out_an_n, 1088s # guint16 *out_an_q, 1088s # gint *out_an_i, 1088s # guint *out_an_u, 1088s # gint64 *out_an_x, 1088s # guint64 *out_an_t, 1088s # gdouble *out_an_d, 1088s # gchar **out_an_s, 1088s # gchar **out_an_o, 1088s # gchar **out_an_g, 1088s # GVariant **out_an_h, 1088s # gchar **out_an_ay, 1088s # gchar ***out_an_as, 1088s # gchar ***out_an_ao, 1088s # gchar ***out_an_aay, 1088s # GVariant **out_an_asv, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "MethodWithManyArgs", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # out_an_b, 1088s # out_an_y, 1088s # out_an_n, 1088s # out_an_q, 1088s # out_an_i, 1088s # out_an_u, 1088s # out_an_x, 1088s # out_an_t, 1088s # out_an_d, 1088s # out_an_s, 1088s # out_an_o, 1088s # out_an_g, 1088s # out_an_h, 1088s # out_an_ay, 1088s # out_an_as, 1088s # out_an_ao, 1088s # out_an_aay, 1088s # out_an_asv); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_complete_method_with_many_args: 1088s # * @object: A #OrgProjectCallableIface. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @an_b: Parameter to return. 1088s # * @an_y: Parameter to return. 1088s # * @an_n: Parameter to return. 1088s # * @an_q: Parameter to return. 1088s # * @an_i: Parameter to return. 1088s # * @an_u: Parameter to return. 1088s # * @an_x: Parameter to return. 1088s # * @an_t: Parameter to return. 1088s # * @an_d: Parameter to return. 1088s # * @an_s: Parameter to return. 1088s # * @an_o: Parameter to return. 1088s # * @an_g: Parameter to return. 1088s # * @an_h: Parameter to return. 1088s # * @an_ay: Parameter to return. 1088s # * @an_as: Parameter to return. 1088s # * @an_ao: Parameter to return. 1088s # * @an_aay: Parameter to return. 1088s # * @an_asv: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_callable_iface_complete_method_with_many_args ( 1088s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # gboolean an_b, 1088s # guchar an_y, 1088s # gint16 an_n, 1088s # guint16 an_q, 1088s # gint an_i, 1088s # guint an_u, 1088s # gint64 an_x, 1088s # guint64 an_t, 1088s # gdouble an_d, 1088s # const gchar *an_s, 1088s # const gchar *an_o, 1088s # const gchar *an_g, 1088s # GVariant *an_h, 1088s # const gchar *an_ay, 1088s # const gchar *const *an_as, 1088s # const gchar *const *an_ao, 1088s # const gchar *const *an_aay, 1088s # GVariant *an_asv) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # an_b, 1088s # an_y, 1088s # an_n, 1088s # an_q, 1088s # an_i, 1088s # an_u, 1088s # an_x, 1088s # an_t, 1088s # an_d, 1088s # an_s, 1088s # an_o, 1088s # an_g, 1088s # an_h, 1088s # an_ay, 1088s # an_as, 1088s # an_ao, 1088s # an_aay, 1088s # an_asv)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceProxy: 1088s # * 1088s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectCallableIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectCallableIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_callable_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_callable_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_callable_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectCallableIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectCallableIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_callable_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_callable_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_callable_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1088s # { 1088s # _org_project_callable_iface_skeleton_handle_method_call, 1088s # _org_project_callable_iface_skeleton_handle_get_property, 1088s # _org_project_callable_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_callable_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_callable_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_callable_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectCallableIface * 1088s # org_project_callable_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1088s # } 1088s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1088s # tmpdir: /tmp/tmplwsd46ie 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmplwsd46ie/tmpaz36pr85.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplwsd46ie/tmpaz36pr85.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1088s # (void *data1, 1088s # GUnixFDList *arg_fd_list, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # const gchar *arg_greeting, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 4); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # g_marshal_value_peek_object (param_values + 2), 1088s # g_marshal_value_peek_string (param_values + 3), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface test.FDPassing 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:TestFDPassing 1088s # * @title: TestFDPassing 1088s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1088s # * 1088s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for test.FDPassing ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "greeting", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1088s # { 1088s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "response", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1088s # { 1088s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "HelloFD", 1088s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1088s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "handle-hello-fd", 1088s # TRUE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1088s # { 1088s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "test.FDPassing", 1088s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "test-fdpassing", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * test_fdpassing_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # test_fdpassing_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # test_fdpassing_method_marshal_hello_fd ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * TestFDPassing: 1088s # * 1088s # * Abstract interface type for the D-Bus interface test.FDPassing. 1088s # */ 1088s # 1088s # /** 1088s # * TestFDPassingIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1088s # * 1088s # * Virtual table for the D-Bus interface test.FDPassing. 1088s # */ 1088s # 1088s # typedef TestFDPassingIface TestFDPassingInterface; 1088s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # test_fdpassing_default_init (TestFDPassingIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * TestFDPassing::handle-hello-fd: 1088s # * @object: A #TestFDPassing. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1088s # * @arg_greeting: Argument passed by remote caller. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-hello-fd", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # test_fdpassing_method_marshal_hello_fd, 1088s # G_TYPE_BOOLEAN, 1088s # 3, 1088s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_call_hello_fd: 1088s # * @proxy: A #TestFDPassingProxy. 1088s # * @arg_greeting: Argument to pass with the method invocation. 1088s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1088s # * 1088s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # test_fdpassing_call_hello_fd ( 1088s # TestFDPassing *proxy, 1088s # const gchar *arg_greeting, 1088s # GUnixFDList *fd_list, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1088s # "HelloFD", 1088s # g_variant_new ("(s)", 1088s # arg_greeting), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # fd_list, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_call_hello_fd_finish: 1088s # * @proxy: A #TestFDPassingProxy. 1088s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # test_fdpassing_call_hello_fd_finish ( 1088s # TestFDPassing *proxy, 1088s # gchar **out_response, 1088s # GUnixFDList **out_fd_list, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(s)", 1088s # out_response); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_call_hello_fd_sync: 1088s # * @proxy: A #TestFDPassingProxy. 1088s # * @arg_greeting: Argument to pass with the method invocation. 1088s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1088s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1088s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # test_fdpassing_call_hello_fd_sync ( 1088s # TestFDPassing *proxy, 1088s # const gchar *arg_greeting, 1088s # GUnixFDList *fd_list, 1088s # gchar **out_response, 1088s # GUnixFDList **out_fd_list, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1088s # "HelloFD", 1088s # g_variant_new ("(s)", 1088s # arg_greeting), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # fd_list, 1088s # out_fd_list, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "(s)", 1088s # out_response); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_complete_hello_fd: 1088s # * @object: A #TestFDPassing. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1088s # * @response: Parameter to return. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # test_fdpassing_complete_hello_fd ( 1088s # TestFDPassing *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation, 1088s # GUnixFDList *fd_list, 1088s # const gchar *response) 1088s # { 1088s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1088s # g_variant_new ("(s)", 1088s # response), 1088s # fd_list); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * TestFDPassingProxy: 1088s # * 1088s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * TestFDPassingProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #TestFDPassingProxy. 1088s # */ 1088s # 1088s # struct _TestFDPassingProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (TestFDPassingProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # test_fdpassing_proxy_finalize (GObject *object) 1088s # { 1088s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1088s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1088s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1088s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # test_fdpassing_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with test_fdpassing_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # TestFDPassing * 1088s # test_fdpassing_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return TEST_FDPASSING (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # TestFDPassing * 1088s # test_fdpassing_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return TEST_FDPASSING (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * test_fdpassing_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # test_fdpassing_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # TestFDPassing * 1088s # test_fdpassing_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return TEST_FDPASSING (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # TestFDPassing * 1088s # test_fdpassing_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return TEST_FDPASSING (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * TestFDPassingSkeleton: 1088s # * 1088s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * TestFDPassingSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #TestFDPassingSkeleton. 1088s # */ 1088s # 1088s # struct _TestFDPassingSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _test_fdpassing_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _test_fdpassing_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _test_fdpassing_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1088s # { 1088s # _test_fdpassing_skeleton_handle_method_call, 1088s # _test_fdpassing_skeleton_handle_get_property, 1088s # _test_fdpassing_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return test_fdpassing_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # test_fdpassing_skeleton_finalize (GObject *object) 1088s # { 1088s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * test_fdpassing_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1088s # * 1088s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1088s # */ 1088s # TestFDPassing * 1088s # test_fdpassing_skeleton_new (void) 1088s # { 1088s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1088s # } 1088s ok 15 __main__.TestCodegen.test_generate_rst 1088s # tmpdir: /tmp/tmp1rf3ieel 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmp1rf3ieel/tmpg8brhmu0.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rf3ieel/tmpg8brhmu0.xml', '--generate-rst', 'test'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: 1088s ok 16 __main__.TestCodegen.test_generate_rst_method 1088s # tmpdir: /tmp/tmpmy_ab78f 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpmy_ab78f/tmpa4a9665k.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmy_ab78f/tmpa4a9665k.xml', '--generate-rst', 'test'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: 1088s ok 17 __main__.TestCodegen.test_generate_rst_property 1088s # tmpdir: /tmp/tmp12nngy4x 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmp12nngy4x/tmpr2wjuh05.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp12nngy4x/tmpr2wjuh05.xml', '--generate-rst', 'test'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: 1088s ok 18 __main__.TestCodegen.test_generate_rst_signal 1088s # tmpdir: /tmp/tmpxzl6xtx8 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpxzl6xtx8/tmpjng5d99n.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxzl6xtx8/tmpjng5d99n.xml', '--generate-rst', 'test'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: 1088s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1088s # tmpdir: /tmp/tmp1stt5y93 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmp1stt5y93/tmpp1xshycg.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1stt5y93/tmpp1xshycg.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1088s # GClosure *closure, 1088s # GValue *return_value G_GNUC_UNUSED, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1088s # (void *data1, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv, 1088s # void *data2); 1088s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # 1088s # g_return_if_fail (n_param_values == 19); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # callback (data1, 1088s # g_marshal_value_peek_boolean (param_values + 1), 1088s # g_marshal_value_peek_uchar (param_values + 2), 1088s # g_marshal_value_peek_int (param_values + 3), 1088s # g_marshal_value_peek_uint (param_values + 4), 1088s # g_marshal_value_peek_int (param_values + 5), 1088s # g_marshal_value_peek_uint (param_values + 6), 1088s # g_marshal_value_peek_int64 (param_values + 7), 1088s # g_marshal_value_peek_uint64 (param_values + 8), 1088s # g_marshal_value_peek_double (param_values + 9), 1088s # g_marshal_value_peek_string (param_values + 10), 1088s # g_marshal_value_peek_string (param_values + 11), 1088s # g_marshal_value_peek_string (param_values + 12), 1088s # g_marshal_value_peek_variant (param_values + 13), 1088s # g_marshal_value_peek_string (param_values + 14), 1088s # g_marshal_value_peek_boxed (param_values + 15), 1088s # g_marshal_value_peek_boxed (param_values + 16), 1088s # g_marshal_value_peek_boxed (param_values + 17), 1088s # g_marshal_value_peek_variant (param_values + 18), 1088s # data2); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_b", 1088s # (gchar *) "b", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_y", 1088s # (gchar *) "y", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_n", 1088s # (gchar *) "n", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_q", 1088s # (gchar *) "q", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_i", 1088s # (gchar *) "i", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_u", 1088s # (gchar *) "u", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_x", 1088s # (gchar *) "x", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_t", 1088s # (gchar *) "t", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_d", 1088s # (gchar *) "d", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_s", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_o", 1088s # (gchar *) "o", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_g", 1088s # (gchar *) "g", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_h", 1088s # (gchar *) "h", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ay", 1088s # (gchar *) "ay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SignalWithManyArgs", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "signal-with-many-args" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::signal-with-many-args: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_b: Argument. 1088s # * @arg_an_y: Argument. 1088s # * @arg_an_n: Argument. 1088s # * @arg_an_q: Argument. 1088s # * @arg_an_i: Argument. 1088s # * @arg_an_u: Argument. 1088s # * @arg_an_x: Argument. 1088s # * @arg_an_t: Argument. 1088s # * @arg_an_d: Argument. 1088s # * @arg_an_s: Argument. 1088s # * @arg_an_o: Argument. 1088s # * @arg_an_g: Argument. 1088s # * @arg_an_h: Argument. 1088s # * @arg_an_ay: Argument. 1088s # * @arg_an_as: Argument. 1088s # * @arg_an_ao: Argument. 1088s # * @arg_an_aay: Argument. 1088s # * @arg_an_asv: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1088s # g_signal_new ("signal-with-many-args", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1088s # G_TYPE_NONE, 1088s # 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); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_signal_with_many_args: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_b: Argument to pass with the signal. 1088s # * @arg_an_y: Argument to pass with the signal. 1088s # * @arg_an_n: Argument to pass with the signal. 1088s # * @arg_an_q: Argument to pass with the signal. 1088s # * @arg_an_i: Argument to pass with the signal. 1088s # * @arg_an_u: Argument to pass with the signal. 1088s # * @arg_an_x: Argument to pass with the signal. 1088s # * @arg_an_t: Argument to pass with the signal. 1088s # * @arg_an_d: Argument to pass with the signal. 1088s # * @arg_an_s: Argument to pass with the signal. 1088s # * @arg_an_o: Argument to pass with the signal. 1088s # * @arg_an_g: Argument to pass with the signal. 1088s # * @arg_an_h: Argument to pass with the signal. 1088s # * @arg_an_ay: Argument to pass with the signal. 1088s # * @arg_an_as: Argument to pass with the signal. 1088s # * @arg_an_ao: Argument to pass with the signal. 1088s # * @arg_an_aay: Argument to pass with the signal. 1088s # * @arg_an_asv: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SignalWithManyArgs" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_signal_with_many_args ( 1088s # OrgProjectSignalingIface *object, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1088s # OrgProjectSignalingIface *object, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # arg_an_b, 1088s # arg_an_y, 1088s # arg_an_n, 1088s # arg_an_q, 1088s # arg_an_i, 1088s # arg_an_u, 1088s # arg_an_x, 1088s # arg_an_t, 1088s # arg_an_d, 1088s # arg_an_s, 1088s # arg_an_o, 1088s # arg_an_g, 1088s # arg_an_h, 1088s # arg_an_ay, 1088s # arg_an_as, 1088s # arg_an_ao, 1088s # arg_an_aay, 1088s # arg_an_asv)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1088s # tmpdir: /tmp/tmpfop65sjr 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpfop65sjr/tmps4h_pcnl.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfop65sjr/tmps4h_pcnl.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_VOID__INT64 ( 1088s # GClosure *closure, 1088s # GValue *return_value G_GNUC_UNUSED, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1088s # (void *data1, 1088s # gint64 arg_an_x, 1088s # void *data2); 1088s # _GDbusCodegenMarshalVoid_Int64Func callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # callback (data1, 1088s # g_marshal_value_peek_int64 (param_values + 1), 1088s # data2); 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1088s # GClosure *closure, 1088s # GValue *return_value G_GNUC_UNUSED, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1088s # (void *data1, 1088s # guint64 arg_an_t, 1088s # void *data2); 1088s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # callback (data1, 1088s # g_marshal_value_peek_uint64 (param_values + 1), 1088s # data2); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "NoArgSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "no-arg-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_b", 1088s # (gchar *) "b", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalB", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-b" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_y", 1088s # (gchar *) "y", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalY", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-y" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_n", 1088s # (gchar *) "n", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalN", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-n" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_q", 1088s # (gchar *) "q", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalQ", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-q" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_i", 1088s # (gchar *) "i", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalI", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-i" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_u", 1088s # (gchar *) "u", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalU", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-u" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_x", 1088s # (gchar *) "x", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalX", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-x" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_t", 1088s # (gchar *) "t", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalT", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-t" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_d", 1088s # (gchar *) "d", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalD", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-d" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_s", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalS", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-s" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_o", 1088s # (gchar *) "o", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalO", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-o" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_g", 1088s # (gchar *) "g", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalG", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-g" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_h", 1088s # (gchar *) "h", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalH", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-h" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ay", 1088s # (gchar *) "ay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalAY", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-ay" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalAS", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-as" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalAO", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-ao" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalAAY", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-aay" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalASV", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-asv" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__UCHAR (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__INT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__UINT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__INT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__UINT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__DOUBLE (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__STRING (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__STRING (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__STRING (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VARIANT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__STRING (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__BOXED (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__BOXED (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__BOXED (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VARIANT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1088s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1088s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1088s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1088s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1088s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1088s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1088s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1088s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1088s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1088s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1088s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1088s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1088s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1088s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1088s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1088s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1088s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1088s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::no-arg-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1088s # g_signal_new ("no-arg-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-b: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_b: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1088s # g_signal_new ("single-arg-signal-b", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_BOOLEAN); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-y: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_y: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1088s # g_signal_new ("single-arg-signal-y", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_UCHAR); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-n: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_n: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1088s # g_signal_new ("single-arg-signal-n", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_INT); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-q: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_q: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1088s # g_signal_new ("single-arg-signal-q", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_UINT); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-i: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_i: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1088s # g_signal_new ("single-arg-signal-i", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_INT); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-u: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_u: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1088s # g_signal_new ("single-arg-signal-u", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_UINT); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-x: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_x: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1088s # g_signal_new ("single-arg-signal-x", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_INT64); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-t: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_t: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1088s # g_signal_new ("single-arg-signal-t", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_UINT64); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-d: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_d: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1088s # g_signal_new ("single-arg-signal-d", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_DOUBLE); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-s: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_s: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1088s # g_signal_new ("single-arg-signal-s", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRING); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-o: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_o: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1088s # g_signal_new ("single-arg-signal-o", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRING); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-g: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_g: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1088s # g_signal_new ("single-arg-signal-g", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRING); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-h: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_h: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1088s # g_signal_new ("single-arg-signal-h", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_VARIANT); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-ay: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_ay: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1088s # g_signal_new ("single-arg-signal-ay", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRING); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-as: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_as: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1088s # g_signal_new ("single-arg-signal-as", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRV); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-ao: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_ao: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1088s # g_signal_new ("single-arg-signal-ao", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRV); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-aay: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_aay: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1088s # g_signal_new ("single-arg-signal-aay", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRV); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-asv: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_asv: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1088s # g_signal_new ("single-arg-signal-asv", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_VARIANT); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_no_arg_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "NoArgSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_no_arg_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_b: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_b: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalB" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_b ( 1088s # OrgProjectSignalingIface *object, 1088s # gboolean arg_an_b) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_y: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_y: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalY" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_y ( 1088s # OrgProjectSignalingIface *object, 1088s # guchar arg_an_y) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_n: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_n: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalN" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_n ( 1088s # OrgProjectSignalingIface *object, 1088s # gint16 arg_an_n) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_q: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_q: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalQ" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_q ( 1088s # OrgProjectSignalingIface *object, 1088s # guint16 arg_an_q) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_i: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_i: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalI" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_i ( 1088s # OrgProjectSignalingIface *object, 1088s # gint arg_an_i) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_u: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_u: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalU" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_u ( 1088s # OrgProjectSignalingIface *object, 1088s # guint arg_an_u) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_x: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_x: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalX" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_x ( 1088s # OrgProjectSignalingIface *object, 1088s # gint64 arg_an_x) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_t: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_t: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalT" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_t ( 1088s # OrgProjectSignalingIface *object, 1088s # guint64 arg_an_t) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_d: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_d: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalD" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_d ( 1088s # OrgProjectSignalingIface *object, 1088s # gdouble arg_an_d) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_s: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_s: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalS" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_s ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_an_s) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_o: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_o: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalO" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_o ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_an_o) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_g: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_g: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalG" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_g ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_an_g) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_h: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_h: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalH" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_h ( 1088s # OrgProjectSignalingIface *object, 1088s # GVariant *arg_an_h) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_ay: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalAY" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_an_ay) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_as: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_as: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalAS" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_as ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_an_as) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_ao: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalAO" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_an_ao) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_aay: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_an_aay) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_asv: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalASV" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1088s # OrgProjectSignalingIface *object, 1088s # GVariant *arg_an_asv) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1088s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #else 1088s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # #endif 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1088s # OrgProjectSignalingIface *object, 1088s # gboolean arg_an_b) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1088s # arg_an_b)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1088s # OrgProjectSignalingIface *object, 1088s # guchar arg_an_y) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1088s # arg_an_y)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1088s # OrgProjectSignalingIface *object, 1088s # gint16 arg_an_n) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1088s # arg_an_n)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1088s # OrgProjectSignalingIface *object, 1088s # guint16 arg_an_q) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1088s # arg_an_q)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1088s # OrgProjectSignalingIface *object, 1088s # gint arg_an_i) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1088s # arg_an_i)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1088s # OrgProjectSignalingIface *object, 1088s # guint arg_an_u) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1088s # arg_an_u)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1088s # OrgProjectSignalingIface *object, 1088s # gint64 arg_an_x) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1088s # arg_an_x)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1088s # OrgProjectSignalingIface *object, 1088s # guint64 arg_an_t) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1088s # arg_an_t)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1088s # OrgProjectSignalingIface *object, 1088s # gdouble arg_an_d) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1088s # arg_an_d)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_an_s) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1088s # arg_an_s)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_an_o) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1088s # arg_an_o)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_an_g) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1088s # arg_an_g)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1088s # OrgProjectSignalingIface *object, 1088s # GVariant *arg_an_h) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1088s # arg_an_h)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_an_ay) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1088s # arg_an_ay)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_an_as) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1088s # arg_an_as)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_an_ao) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1088s # arg_an_ao)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_an_aay) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1088s # arg_an_aay)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1088s # OrgProjectSignalingIface *object, 1088s # GVariant *arg_an_asv) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1088s # arg_an_asv)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1088s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1088s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1088s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1088s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1088s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1088s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1088s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1088s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1088s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1088s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1088s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1088s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1088s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1088s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1088s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1088s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1088s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1088s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1088s # tmpdir: /tmp/tmpvi4v_sxj 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpvi4v_sxj/tmp0o4paukr.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvi4v_sxj/tmp0o4paukr.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.UsefulInterface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectUsefulInterface 1088s # * @title: OrgProjectUsefulInterface 1088s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.UsefulInterface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-useful-interface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_useful_interface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_useful_interface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_useful_interface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1088s # */ 1088s # 1088s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectUsefulInterface::simple-signal: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_useful_interface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_emit_simple_signal: 1088s # * @object: A #OrgProjectUsefulInterface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_useful_interface_emit_simple_signal ( 1088s # OrgProjectUsefulInterface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxy: 1088s # * 1088s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectUsefulInterfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectUsefulInterfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_useful_interface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1088s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1088s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_useful_interface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_useful_interface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1089s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectUsefulInterface * 1089s # org_project_useful_interface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_useful_interface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectUsefulInterface * 1089s # org_project_useful_interface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_useful_interface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_useful_interface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # g_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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_useful_interface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectUsefulInterface * 1089s # org_project_useful_interface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_useful_interface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectUsefulInterface * 1089s # org_project_useful_interface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectUsefulInterfaceSkeleton: 1089s # * 1089s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectUsefulInterfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_useful_interface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_useful_interface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_useful_interface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1089s # { 1089s # _org_project_useful_interface_skeleton_handle_method_call, 1089s # _org_project_useful_interface_skeleton_handle_get_property, 1089s # _org_project_useful_interface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_useful_interface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_useful_interface_on_signal_simple_signal ( 1089s # OrgProjectUsefulInterface *object) 1089s # { 1089s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_useful_interface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1089s # } 1089s # 1089s # /** 1089s # * org_project_useful_interface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectUsefulInterface * 1089s # org_project_useful_interface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.OtherIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectOtherIface 1089s # * @title: OrgProjectOtherIface 1089s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.OtherIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.OtherIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-other-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_other_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_other_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_other_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectOtherIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectOtherIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.OtherIface. 1089s # */ 1089s # 1089s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectOtherIface::simple-signal: 1089s # * @object: A #OrgProjectOtherIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_other_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectOtherIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_other_iface_emit_simple_signal ( 1089s # OrgProjectOtherIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectOtherIfaceProxy: 1089s # * 1089s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectOtherIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectOtherIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectOtherIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_other_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_other_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectOtherIface * 1089s # org_project_other_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_OTHER_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectOtherIface * 1089s # org_project_other_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_OTHER_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_other_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_other_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectOtherIface * 1089s # org_project_other_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_OTHER_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectOtherIface * 1089s # org_project_other_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_OTHER_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectOtherIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectOtherIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectOtherIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_other_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_other_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_other_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1089s # { 1089s # _org_project_other_iface_skeleton_handle_method_call, 1089s # _org_project_other_iface_skeleton_handle_get_property, 1089s # _org_project_other_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_other_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_other_iface_on_signal_simple_signal ( 1089s # OrgProjectOtherIface *object) 1089s # { 1089s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_other_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectOtherIface * 1089s # org_project_other_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1089s # } 1089s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1089s # tmpdir: /tmp/tmpvqn54g0v 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpvqn54g0v/tmpqc4ovn8v.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvqn54g0v/tmpqc4ovn8v.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.OtherSignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectOtherSignalingIface 1089s # * @title: OrgProjectOtherSignalingIface 1089s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.OtherSignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-other-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_other_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectOtherSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectOtherSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectOtherSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectOtherSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectOtherSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_other_signaling_iface_emit_simple_signal ( 1089s # OrgProjectOtherSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectOtherSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectOtherSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_other_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectOtherSignalingIface * 1089s # org_project_other_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectOtherSignalingIface * 1089s # org_project_other_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_other_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectOtherSignalingIface * 1089s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectOtherSignalingIface * 1089s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectOtherSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_other_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectOtherSignalingIface *object) 1089s # { 1089s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1089s # } 1089s # 1089s # /** 1089s # * org_project_other_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectOtherSignalingIface * 1089s # org_project_other_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1089s # tmpdir: /tmp/tmp40ffd8tj 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmp40ffd8tj/tmpl_3y39xj.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpl_3y39xj.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_b", 1089s # (gchar *) "b", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalB", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-b" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-b: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_b: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1089s # g_signal_new ("single-arg-signal-b", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_BOOLEAN); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_b: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_b: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalB" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_b ( 1089s # OrgProjectSignalingIface *object, 1089s # gboolean arg_arg_b) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1089s # OrgProjectSignalingIface *object, 1089s # gboolean arg_arg_b) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1089s # arg_arg_b)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmp39sxhcxz.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmp39sxhcxz.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_y", 1089s # (gchar *) "y", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalY", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-y" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__UCHAR (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-y: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_y: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1089s # g_signal_new ("single-arg-signal-y", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_UCHAR); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_y: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_y: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalY" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_y ( 1089s # OrgProjectSignalingIface *object, 1089s # guchar arg_arg_y) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1089s # OrgProjectSignalingIface *object, 1089s # guchar arg_arg_y) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1089s # arg_arg_y)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmp4munkxjr.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmp4munkxjr.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_n", 1089s # (gchar *) "n", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalN", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-n" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__INT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-n: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_n: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1089s # g_signal_new ("single-arg-signal-n", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_INT); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_n: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_n: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalN" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_n ( 1089s # OrgProjectSignalingIface *object, 1089s # gint16 arg_arg_n) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1089s # OrgProjectSignalingIface *object, 1089s # gint16 arg_arg_n) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1089s # arg_arg_n)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmp_ok71128.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmp_ok71128.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_q", 1089s # (gchar *) "q", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalQ", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-q" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__UINT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-q: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_q: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1089s # g_signal_new ("single-arg-signal-q", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_UINT); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_q: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_q: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalQ" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_q ( 1089s # OrgProjectSignalingIface *object, 1089s # guint16 arg_arg_q) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1089s # OrgProjectSignalingIface *object, 1089s # guint16 arg_arg_q) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1089s # arg_arg_q)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmp8x8v4jfz.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmp8x8v4jfz.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_i", 1089s # (gchar *) "i", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalI", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-i" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__INT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-i: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_i: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1089s # g_signal_new ("single-arg-signal-i", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_INT); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_i: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_i: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalI" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_i ( 1089s # OrgProjectSignalingIface *object, 1089s # gint arg_arg_i) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1089s # OrgProjectSignalingIface *object, 1089s # gint arg_arg_i) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1089s # arg_arg_i)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmp1kvr9czk.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmp1kvr9czk.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_u", 1089s # (gchar *) "u", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalU", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-u" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__UINT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-u: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_u: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1089s # g_signal_new ("single-arg-signal-u", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_UINT); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_u: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_u: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalU" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_u ( 1089s # OrgProjectSignalingIface *object, 1089s # guint arg_arg_u) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1089s # OrgProjectSignalingIface *object, 1089s # guint arg_arg_u) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1089s # arg_arg_u)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpt4x65lu1.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpt4x65lu1.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static void 1089s # _g_dbus_codegen_marshal_VOID__INT64 ( 1089s # GClosure *closure, 1089s # GValue *return_value G_GNUC_UNUSED, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint G_GNUC_UNUSED, 1089s # void *marshal_data) 1089s # { 1089s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1089s # (void *data1, 1089s # gint64 arg_arg_x, 1089s # void *data2); 1089s # _GDbusCodegenMarshalVoid_Int64Func callback; 1089s # GCClosure *cc = (GCClosure*) closure; 1089s # void *data1, *data2; 1089s # 1089s # g_return_if_fail (n_param_values == 2); 1089s # 1089s # if (G_CCLOSURE_SWAP_DATA (closure)) 1089s # { 1089s # data1 = closure->data; 1089s # data2 = g_value_peek_pointer (param_values + 0); 1089s # } 1089s # else 1089s # { 1089s # data1 = g_value_peek_pointer (param_values + 0); 1089s # data2 = closure->data; 1089s # } 1089s # 1089s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1089s # (marshal_data ? marshal_data : cc->callback); 1089s # 1089s # callback (data1, 1089s # g_marshal_value_peek_int64 (param_values + 1), 1089s # data2); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_x", 1089s # (gchar *) "x", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalX", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-x" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-x: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_x: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1089s # g_signal_new ("single-arg-signal-x", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_INT64); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_x: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_x: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalX" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_x ( 1089s # OrgProjectSignalingIface *object, 1089s # gint64 arg_arg_x) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1089s # OrgProjectSignalingIface *object, 1089s # gint64 arg_arg_x) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1089s # arg_arg_x)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpbztw77gy.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpbztw77gy.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static void 1089s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1089s # GClosure *closure, 1089s # GValue *return_value G_GNUC_UNUSED, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint G_GNUC_UNUSED, 1089s # void *marshal_data) 1089s # { 1089s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1089s # (void *data1, 1089s # guint64 arg_arg_t, 1089s # void *data2); 1089s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1089s # GCClosure *cc = (GCClosure*) closure; 1089s # void *data1, *data2; 1089s # 1089s # g_return_if_fail (n_param_values == 2); 1089s # 1089s # if (G_CCLOSURE_SWAP_DATA (closure)) 1089s # { 1089s # data1 = closure->data; 1089s # data2 = g_value_peek_pointer (param_values + 0); 1089s # } 1089s # else 1089s # { 1089s # data1 = g_value_peek_pointer (param_values + 0); 1089s # data2 = closure->data; 1089s # } 1089s # 1089s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1089s # (marshal_data ? marshal_data : cc->callback); 1089s # 1089s # callback (data1, 1089s # g_marshal_value_peek_uint64 (param_values + 1), 1089s # data2); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_t", 1089s # (gchar *) "t", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalT", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-t" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-t: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_t: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1089s # g_signal_new ("single-arg-signal-t", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_UINT64); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_t: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_t: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalT" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_t ( 1089s # OrgProjectSignalingIface *object, 1089s # guint64 arg_arg_t) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1089s # OrgProjectSignalingIface *object, 1089s # guint64 arg_arg_t) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1089s # arg_arg_t)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpeegf7mz7.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpeegf7mz7.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_d", 1089s # (gchar *) "d", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalD", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-d" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__DOUBLE (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-d: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_d: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1089s # g_signal_new ("single-arg-signal-d", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_DOUBLE); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_d: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_d: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalD" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_d ( 1089s # OrgProjectSignalingIface *object, 1089s # gdouble arg_arg_d) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1089s # OrgProjectSignalingIface *object, 1089s # gdouble arg_arg_d) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1089s # arg_arg_d)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpuznyukdv.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpuznyukdv.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_s", 1089s # (gchar *) "s", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalS", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-s" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__STRING (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-s: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_s: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1089s # g_signal_new ("single-arg-signal-s", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_STRING); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_s: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_s: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalS" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_s ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *arg_arg_s) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *arg_arg_s) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1089s # arg_arg_s)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpa8frc6c_.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpa8frc6c_.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_o", 1089s # (gchar *) "o", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalO", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-o" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__STRING (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-o: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_o: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1089s # g_signal_new ("single-arg-signal-o", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_STRING); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_o: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_o: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalO" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_o ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *arg_arg_o) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *arg_arg_o) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1089s # arg_arg_o)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpqv_26ejn.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpqv_26ejn.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_g", 1089s # (gchar *) "g", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalG", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-g" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__STRING (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-g: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_g: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1089s # g_signal_new ("single-arg-signal-g", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_STRING); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_g: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_g: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalG" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_g ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *arg_arg_g) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *arg_arg_g) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1089s # arg_arg_g)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpeczgu3xr.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpeczgu3xr.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_h", 1089s # (gchar *) "h", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalH", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-h" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VARIANT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-h: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_h: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1089s # g_signal_new ("single-arg-signal-h", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_VARIANT); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_h: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_h: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalH" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_h ( 1089s # OrgProjectSignalingIface *object, 1089s # GVariant *arg_arg_h) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1089s # OrgProjectSignalingIface *object, 1089s # GVariant *arg_arg_h) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1089s # arg_arg_h)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpgp36k8t8.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpgp36k8t8.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_ay", 1089s # (gchar *) "ay", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalAy", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-ay" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__STRING (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-ay: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_ay: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1089s # g_signal_new ("single-arg-signal-ay", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_STRING); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_ay: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalAy" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *arg_arg_ay) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *arg_arg_ay) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1089s # arg_arg_ay)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpxctgz27r.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpxctgz27r.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_as", 1089s # (gchar *) "as", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalAs", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-as" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__BOXED (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-as: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_as: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1089s # g_signal_new ("single-arg-signal-as", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_STRV); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_as: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_as: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalAs" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_as ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *const *arg_arg_as) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *const *arg_arg_as) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1089s # arg_arg_as)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpzt3pkk71.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpzt3pkk71.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_ao", 1089s # (gchar *) "ao", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalAo", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-ao" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__BOXED (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-ao: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_ao: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1089s # g_signal_new ("single-arg-signal-ao", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_STRV); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_ao: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalAo" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *const *arg_arg_ao) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *const *arg_arg_ao) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1089s # arg_arg_ao)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmp8ytbs5t7.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmp8ytbs5t7.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_aay", 1089s # (gchar *) "aay", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalAay", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-aay" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__BOXED (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-aay: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_aay: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1089s # g_signal_new ("single-arg-signal-aay", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_STRV); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_aay: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalAay" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *const *arg_arg_aay) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1089s # OrgProjectSignalingIface *object, 1089s # const gchar *const *arg_arg_aay) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1089s # arg_arg_aay)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s # /tmp/tmp40ffd8tj/tmpiku7m309.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp40ffd8tj/tmpiku7m309.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "arg_asv", 1089s # (gchar *) "a{sv}", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SingleArgSignalAsv", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "single-arg-signal-asv" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VARIANT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::single-arg-signal-asv: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_asv: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1089s # g_signal_new ("single-arg-signal-asv", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1089s # G_TYPE_NONE, 1089s # 1, G_TYPE_VARIANT); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_arg_asv: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1089s # OrgProjectSignalingIface *object, 1089s # GVariant *arg_arg_asv) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1089s # OrgProjectSignalingIface *object, 1089s # GVariant *arg_arg_asv) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1089s # arg_arg_asv)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1089s # tmpdir: /tmp/tmprqv1nqll 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmprqv1nqll/tmpw6czd9ff.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprqv1nqll/tmpw6czd9ff.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static void 1089s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1089s # GClosure *closure, 1089s # GValue *return_value G_GNUC_UNUSED, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint G_GNUC_UNUSED, 1089s # void *marshal_data) 1089s # { 1089s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1089s # (void *data1, 1089s # gboolean arg_an_b, 1089s # guchar arg_an_y, 1089s # gint16 arg_an_n, 1089s # guint16 arg_an_q, 1089s # gint arg_an_i, 1089s # guint arg_an_u, 1089s # gint64 arg_an_x, 1089s # guint64 arg_an_t, 1089s # gdouble arg_an_d, 1089s # const gchar *arg_an_s, 1089s # const gchar *arg_an_o, 1089s # const gchar *arg_an_g, 1089s # GVariant *arg_an_h, 1089s # const gchar *arg_an_ay, 1089s # const gchar *const *arg_an_as, 1089s # const gchar *const *arg_an_ao, 1089s # const gchar *const *arg_an_aay, 1089s # GVariant *arg_an_asv, 1089s # void *data2); 1089s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1089s # GCClosure *cc = (GCClosure*) closure; 1089s # void *data1, *data2; 1089s # 1089s # g_return_if_fail (n_param_values == 19); 1089s # 1089s # if (G_CCLOSURE_SWAP_DATA (closure)) 1089s # { 1089s # data1 = closure->data; 1089s # data2 = g_value_peek_pointer (param_values + 0); 1089s # } 1089s # else 1089s # { 1089s # data1 = g_value_peek_pointer (param_values + 0); 1089s # data2 = closure->data; 1089s # } 1089s # 1089s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1089s # (marshal_data ? marshal_data : cc->callback); 1089s # 1089s # callback (data1, 1089s # g_marshal_value_peek_boolean (param_values + 1), 1089s # g_marshal_value_peek_uchar (param_values + 2), 1089s # g_marshal_value_peek_int (param_values + 3), 1089s # g_marshal_value_peek_uint (param_values + 4), 1089s # g_marshal_value_peek_int (param_values + 5), 1089s # g_marshal_value_peek_uint (param_values + 6), 1089s # g_marshal_value_peek_int64 (param_values + 7), 1089s # g_marshal_value_peek_uint64 (param_values + 8), 1089s # g_marshal_value_peek_double (param_values + 9), 1089s # g_marshal_value_peek_string (param_values + 10), 1089s # g_marshal_value_peek_string (param_values + 11), 1089s # g_marshal_value_peek_string (param_values + 12), 1089s # g_marshal_value_peek_variant (param_values + 13), 1089s # g_marshal_value_peek_string (param_values + 14), 1089s # g_marshal_value_peek_boxed (param_values + 15), 1089s # g_marshal_value_peek_boxed (param_values + 16), 1089s # g_marshal_value_peek_boxed (param_values + 17), 1089s # g_marshal_value_peek_variant (param_values + 18), 1089s # data2); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.SignalingIface 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectSignalingIface 1089s # * @title: OrgProjectSignalingIface 1089s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1089s # }; 1089s # 1089s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1089s # 1089s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SimpleSignal", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "simple-signal" 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_b", 1089s # (gchar *) "b", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_y", 1089s # (gchar *) "y", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_n", 1089s # (gchar *) "n", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_q", 1089s # (gchar *) "q", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_i", 1089s # (gchar *) "i", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_u", 1089s # (gchar *) "u", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_x", 1089s # (gchar *) "x", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_t", 1089s # (gchar *) "t", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_d", 1089s # (gchar *) "d", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_s", 1089s # (gchar *) "s", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_o", 1089s # (gchar *) "o", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_g", 1089s # (gchar *) "g", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_h", 1089s # (gchar *) "h", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_ay", 1089s # (gchar *) "ay", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_as", 1089s # (gchar *) "as", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_ao", 1089s # (gchar *) "ao", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_aay", 1089s # (gchar *) "aay", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "an_asv", 1089s # (gchar *) "a{sv}", 1089s # NULL 1089s # }, 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "SignalWithManyArgs", 1089s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1089s # NULL 1089s # }, 1089s # "signal-with-many-args" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1089s # { 1089s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1089s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.SignalingIface", 1089s # NULL, 1089s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-signaling-iface", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_signaling_iface_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_simple_signal ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceIface: 1089s # * @parent_iface: The parent interface. 1089s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1089s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1089s # */ 1089s # 1089s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * OrgProjectSignalingIface::simple-signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1089s # g_signal_new ("simple-signal", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_simple_signal, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /** 1089s # * OrgProjectSignalingIface::signal-with-many-args: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_an_b: Argument. 1089s # * @arg_an_y: Argument. 1089s # * @arg_an_n: Argument. 1089s # * @arg_an_q: Argument. 1089s # * @arg_an_i: Argument. 1089s # * @arg_an_u: Argument. 1089s # * @arg_an_x: Argument. 1089s # * @arg_an_t: Argument. 1089s # * @arg_an_d: Argument. 1089s # * @arg_an_s: Argument. 1089s # * @arg_an_o: Argument. 1089s # * @arg_an_g: Argument. 1089s # * @arg_an_h: Argument. 1089s # * @arg_an_ay: Argument. 1089s # * @arg_an_as: Argument. 1089s # * @arg_an_ao: Argument. 1089s # * @arg_an_aay: Argument. 1089s # * @arg_an_asv: Argument. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1089s # g_signal_new ("signal-with-many-args", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1089s # NULL, 1089s # NULL, 1089s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1089s # G_TYPE_NONE, 1089s # 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); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_simple_signal: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * 1089s # * Emits the "SimpleSignal" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_emit_signal_with_many_args: 1089s # * @object: A #OrgProjectSignalingIface. 1089s # * @arg_an_b: Argument to pass with the signal. 1089s # * @arg_an_y: Argument to pass with the signal. 1089s # * @arg_an_n: Argument to pass with the signal. 1089s # * @arg_an_q: Argument to pass with the signal. 1089s # * @arg_an_i: Argument to pass with the signal. 1089s # * @arg_an_u: Argument to pass with the signal. 1089s # * @arg_an_x: Argument to pass with the signal. 1089s # * @arg_an_t: Argument to pass with the signal. 1089s # * @arg_an_d: Argument to pass with the signal. 1089s # * @arg_an_s: Argument to pass with the signal. 1089s # * @arg_an_o: Argument to pass with the signal. 1089s # * @arg_an_g: Argument to pass with the signal. 1089s # * @arg_an_h: Argument to pass with the signal. 1089s # * @arg_an_ay: Argument to pass with the signal. 1089s # * @arg_an_as: Argument to pass with the signal. 1089s # * @arg_an_ao: Argument to pass with the signal. 1089s # * @arg_an_aay: Argument to pass with the signal. 1089s # * @arg_an_asv: Argument to pass with the signal. 1089s # * 1089s # * Emits the "SignalWithManyArgs" D-Bus signal. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_emit_signal_with_many_args ( 1089s # OrgProjectSignalingIface *object, 1089s # gboolean arg_an_b, 1089s # guchar arg_an_y, 1089s # gint16 arg_an_n, 1089s # guint16 arg_an_q, 1089s # gint arg_an_i, 1089s # guint arg_an_u, 1089s # gint64 arg_an_x, 1089s # guint64 arg_an_t, 1089s # gdouble arg_an_d, 1089s # const gchar *arg_an_s, 1089s # const gchar *arg_an_o, 1089s # const gchar *arg_an_g, 1089s # GVariant *arg_an_h, 1089s # const gchar *arg_an_ay, 1089s # const gchar *const *arg_an_as, 1089s # const gchar *const *arg_an_ao, 1089s # const gchar *const *arg_an_aay, 1089s # GVariant *arg_an_asv) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxy: 1089s # * 1089s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1089s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1089s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_signaling_iface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeleton: 1089s # * 1089s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectSignalingIfaceSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_signaling_iface_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_signaling_iface_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_signaling_iface_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1089s # { 1089s # _org_project_signaling_iface_skeleton_handle_method_call, 1089s # _org_project_signaling_iface_skeleton_handle_get_property, 1089s # _org_project_signaling_iface_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_signaling_iface_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_simple_signal ( 1089s # OrgProjectSignalingIface *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void 1089s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1089s # OrgProjectSignalingIface *object, 1089s # gboolean arg_an_b, 1089s # guchar arg_an_y, 1089s # gint16 arg_an_n, 1089s # guint16 arg_an_q, 1089s # gint arg_an_i, 1089s # guint arg_an_u, 1089s # gint64 arg_an_x, 1089s # guint64 arg_an_t, 1089s # gdouble arg_an_d, 1089s # const gchar *arg_an_s, 1089s # const gchar *arg_an_o, 1089s # const gchar *arg_an_g, 1089s # GVariant *arg_an_h, 1089s # const gchar *arg_an_ay, 1089s # const gchar *const *arg_an_as, 1089s # const gchar *const *arg_an_ao, 1089s # const gchar *const *arg_an_aay, 1089s # GVariant *arg_an_asv) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1089s # arg_an_b, 1089s # arg_an_y, 1089s # arg_an_n, 1089s # arg_an_q, 1089s # arg_an_i, 1089s # arg_an_u, 1089s # arg_an_x, 1089s # arg_an_t, 1089s # arg_an_d, 1089s # arg_an_s, 1089s # arg_an_o, 1089s # arg_an_g, 1089s # arg_an_h, 1089s # arg_an_ay, 1089s # arg_an_as, 1089s # arg_an_ao, 1089s # arg_an_aay, 1089s # arg_an_asv)); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1089s # { 1089s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1089s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1089s # } 1089s # 1089s # /** 1089s # * org_project_signaling_iface_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectSignalingIface * 1089s # org_project_signaling_iface_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1089s # } 1089s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1089s # tmpdir: /tmp/tmpstbbtg8a 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpstbbtg8a/tmpry4bxylt.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpstbbtg8a/tmpry4bxylt.xml', '--generate-docbook', 'test'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: 1089s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1089s # tmpdir: /tmp/tmp192o5pb7 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmp192o5pb7/tmpx0r0ntm1.xml: 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp192o5pb7/tmpx0r0ntm1.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1089s # tmpdir: /tmp/tmpu8zvxn2q 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpu8zvxn2q/tmpa4tcvqrg.xml: 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8zvxn2q/tmpa4tcvqrg.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1089s # tmpdir: /tmp/tmp_ntqprvn 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmp_ntqprvn/tmpg6vbl7jg.xml: 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_ntqprvn/tmpg6vbl7jg.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1089s # tmpdir: /tmp/tmpw8h2c1ao 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpw8h2c1ao/tmp_jt79z9j.xml: 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8h2c1ao/tmp_jt79z9j.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1089s # tmpdir: /tmp/tmpbaapwb1k 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpbaapwb1k/tmp5mfztpwv.xml: 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbaapwb1k/tmp5mfztpwv.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1089s # tmpdir: /tmp/tmpk474qnrz 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpk474qnrz/tmpq0kyam4v.xml: 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk474qnrz/tmpq0kyam4v.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1089s # tmpdir: /tmp/tmpr_lottur 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpr_lottur/tmp18gousdi.xml: 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr_lottur/tmp18gousdi.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1089s # tmpdir: /tmp/tmp3cddpy8s 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmp3cddpy8s/tmpucb8w0t3.xml: 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3cddpy8s/tmpucb8w0t3.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1089s # tmpdir: /tmp/tmpmi7e6x1c 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpmi7e6x1c/tmpvtrf1l70.xml: 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmi7e6x1c/tmpvtrf1l70.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s ok 35 __main__.TestCodegen.test_help 1089s # tmpdir: /tmp/tmp8_fogk2d 1089s # codegen: /usr/bin/gdbus-codegen 1089s # Running: ['/usr/bin/gdbus-codegen', '--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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1089s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1089s # [--c-generate-autocleanup {none,objects,all}] 1089s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1089s # [--generate-rst OUTFILES] [--pragma-once] 1089s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1089s # [--glib-min-required VERSION] 1089s # [--glib-max-allowed VERSION] 1089s # [--symbol-decorator SYMBOL_DECORATOR] 1089s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1089s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1089s # [--generate-c-code OUTFILES | --header | --body | 1089s # --interface-info-header | --interface-info-body] 1089s # [--output FILE | --output-directory OUTDIR] 1089s # FILE [FILE ...] 1089s # 1089s # D-Bus code and documentation generator 1089s # 1089s # positional arguments: 1089s # FILE D-Bus introspection XML file 1089s # 1089s # options: 1089s # -h, --help show this help message and exit 1089s # --interface-prefix PREFIX 1089s # String to strip from D-Bus interface names for code 1089s # and docs 1089s # --c-namespace NAMESPACE 1089s # The namespace to use for generated C code 1089s # --c-generate-object-manager 1089s # Generate a GDBusObjectManagerClient subclass when 1089s # generating C code 1089s # --c-generate-autocleanup {none,objects,all} 1089s # Generate autocleanup support 1089s # --generate-docbook OUTFILES 1089s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1089s # --generate-md OUTFILES 1089s # Generate Markdown in OUTFILES-org.Project.IFace.md 1089s # --generate-rst OUTFILES 1089s # Generate reStructuredText in OUTFILES- 1089s # org.Project.IFace.rst 1089s # --pragma-once Use "pragma once" as the inclusion guard 1089s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1089s # Add annotation (may be used several times) 1089s # --glib-min-required VERSION 1089s # Minimum version of GLib to be supported by the 1089s # outputted code (default: 2.30) 1089s # --glib-max-allowed VERSION 1089s # Maximum version of GLib to be used by the outputted 1089s # code (default: current GLib version) 1089s # --symbol-decorator SYMBOL_DECORATOR 1089s # Macro used to decorate a symbol in the outputted 1089s # header, possibly to export symbols 1089s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1089s # Additional header required for decorator specified by 1089s # --symbol-decorator 1089s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1089s # Additional define required for decorator specified by 1089s # --symbol-decorator 1089s # --generate-c-code OUTFILES 1089s # Generate C code in OUTFILES.[ch] 1089s # --header Generate C headers 1089s # --body Generate C code 1089s # --interface-info-header 1089s # Generate GDBusInterfaceInfo C header 1089s # --interface-info-body 1089s # Generate GDBusInterfaceInfo C code 1089s # --output FILE Write output into the specified file 1089s # --output-directory OUTDIR 1089s # Location to output generated files 1089s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1089s # tmpdir: /tmp/tmpjtufb1gi 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpjtufb1gi/tmp782p0gwc.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjtufb1gi/tmp782p0gwc.xml', '--generate-rst', 'test'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: 1089s # /tmp/tmpjtufb1gi/tmpua5gv4hp.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjtufb1gi/tmpua5gv4hp.xml', '--generate-md', 'test'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: 1089s # /tmp/tmpjtufb1gi/tmpqfv9_ah9.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjtufb1gi/tmpqfv9_ah9.xml', '--generate-docbook', 'test'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: 1089s ok 37 __main__.TestCodegen.test_no_args 1089s # tmpdir: /tmp/tmpzovoz8vj 1089s # codegen: /usr/bin/gdbus-codegen 1089s # Running: ['/usr/bin/gdbus-codegen'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Executing: glib/codegen.py.test 1089s ok 38 __main__.TestCodegen.test_reproducible 1089s # tmpdir: /tmp/tmpn6i8f5jy 1089s # codegen: /usr/bin/gdbus-codegen 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn6i8f5jy/tmpqvnpynnl1.xml', '/tmp/tmpn6i8f5jy/tmp7cuyebwi2.xml', '--output', '-', '--header'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for org.project.Bar.Frobnicator */ 1089s # 1089s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1089s # 1089s # struct _OrgProjectBarFrobnicator; 1089s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1089s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1089s # 1089s # struct _OrgProjectBarFrobnicatorIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # gboolean (*handle_random_method) ( 1089s # OrgProjectBarFrobnicator *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # }; 1089s # 1089s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1089s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void org_project_bar_frobnicator_complete_random_method ( 1089s # OrgProjectBarFrobnicator *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void org_project_bar_frobnicator_call_random_method ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1089s # 1089s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1089s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1089s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1089s # 1089s # struct _OrgProjectBarFrobnicatorProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectBarFrobnicatorProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void org_project_bar_frobnicator_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1089s # 1089s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1089s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1089s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1089s # 1089s # struct _OrgProjectBarFrobnicatorSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectBarFrobnicatorSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for com.acme.Coyote */ 1089s # 1089s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1089s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1089s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1089s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1089s # 1089s # struct _ComAcmeCoyote; 1089s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1089s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1089s # 1089s # struct _ComAcmeCoyoteIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # 1089s # 1089s # gboolean (*handle_attack) ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # gboolean (*handle_run) ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # gboolean (*handle_sleep) ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1089s # 1089s # void (*surprised) ( 1089s # ComAcmeCoyote *object); 1089s # 1089s # }; 1089s # 1089s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1089s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void com_acme_coyote_complete_run ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # void com_acme_coyote_complete_sleep ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # void com_acme_coyote_complete_attack ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # 1089s # 1089s # /* D-Bus signal emissions functions: */ 1089s # void com_acme_coyote_emit_surprised ( 1089s # ComAcmeCoyote *object); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void com_acme_coyote_call_run ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean com_acme_coyote_call_run_finish ( 1089s # ComAcmeCoyote *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean com_acme_coyote_call_run_sync ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void com_acme_coyote_call_sleep ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean com_acme_coyote_call_sleep_finish ( 1089s # ComAcmeCoyote *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean com_acme_coyote_call_sleep_sync ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void com_acme_coyote_call_attack ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean com_acme_coyote_call_attack_finish ( 1089s # ComAcmeCoyote *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean com_acme_coyote_call_attack_sync ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* D-Bus property accessors: */ 1089s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1089s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1089s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1089s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1089s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1089s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1089s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1089s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1089s # 1089s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1089s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1089s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1089s # 1089s # struct _ComAcmeCoyoteProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # ComAcmeCoyoteProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _ComAcmeCoyoteProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void com_acme_coyote_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void com_acme_coyote_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1089s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1089s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1089s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1089s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1089s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1089s # 1089s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1089s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1089s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1089s # 1089s # struct _ComAcmeCoyoteSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # ComAcmeCoyoteSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _ComAcmeCoyoteSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn6i8f5jy/tmp7cuyebwi2.xml', '/tmp/tmpn6i8f5jy/tmpqvnpynnl1.xml', '--output', '-', '--header'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for org.project.Bar.Frobnicator */ 1089s # 1089s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1089s # 1089s # struct _OrgProjectBarFrobnicator; 1089s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1089s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1089s # 1089s # struct _OrgProjectBarFrobnicatorIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # gboolean (*handle_random_method) ( 1089s # OrgProjectBarFrobnicator *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # }; 1089s # 1089s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1089s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void org_project_bar_frobnicator_complete_random_method ( 1089s # OrgProjectBarFrobnicator *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void org_project_bar_frobnicator_call_random_method ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1089s # 1089s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1089s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1089s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1089s # 1089s # struct _OrgProjectBarFrobnicatorProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectBarFrobnicatorProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void org_project_bar_frobnicator_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1089s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1089s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1089s # 1089s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1089s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1089s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1089s # 1089s # struct _OrgProjectBarFrobnicatorSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectBarFrobnicatorSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for com.acme.Coyote */ 1089s # 1089s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1089s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1089s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1089s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1089s # 1089s # struct _ComAcmeCoyote; 1089s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1089s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1089s # 1089s # struct _ComAcmeCoyoteIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # 1089s # 1089s # gboolean (*handle_attack) ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # gboolean (*handle_run) ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # gboolean (*handle_sleep) ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1089s # 1089s # void (*surprised) ( 1089s # ComAcmeCoyote *object); 1089s # 1089s # }; 1089s # 1089s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1089s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void com_acme_coyote_complete_run ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # void com_acme_coyote_complete_sleep ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # void com_acme_coyote_complete_attack ( 1089s # ComAcmeCoyote *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # 1089s # 1089s # /* D-Bus signal emissions functions: */ 1089s # void com_acme_coyote_emit_surprised ( 1089s # ComAcmeCoyote *object); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void com_acme_coyote_call_run ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean com_acme_coyote_call_run_finish ( 1089s # ComAcmeCoyote *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean com_acme_coyote_call_run_sync ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void com_acme_coyote_call_sleep ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean com_acme_coyote_call_sleep_finish ( 1089s # ComAcmeCoyote *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean com_acme_coyote_call_sleep_sync ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void com_acme_coyote_call_attack ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean com_acme_coyote_call_attack_finish ( 1089s # ComAcmeCoyote *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean com_acme_coyote_call_attack_sync ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* D-Bus property accessors: */ 1089s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1089s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1089s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1089s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1089s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1089s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1089s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1089s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1089s # 1089s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1089s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1089s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1089s # 1089s # struct _ComAcmeCoyoteProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # ComAcmeCoyoteProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _ComAcmeCoyoteProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void com_acme_coyote_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void com_acme_coyote_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1089s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1089s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1089s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1089s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1089s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1089s # 1089s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1089s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1089s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1089s # 1089s # struct _ComAcmeCoyoteSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # ComAcmeCoyoteSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _ComAcmeCoyoteSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn6i8f5jy/tmpqvnpynnl1.xml', '/tmp/tmpn6i8f5jy/tmp7cuyebwi2.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static void 1089s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint G_GNUC_UNUSED, 1089s # void *marshal_data) 1089s # { 1089s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1089s # (void *data1, 1089s # GDBusMethodInvocation *arg_method_invocation, 1089s # void *data2); 1089s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1089s # GCClosure *cc = (GCClosure*) closure; 1089s # void *data1, *data2; 1089s # gboolean v_return; 1089s # 1089s # g_return_if_fail (return_value != NULL); 1089s # g_return_if_fail (n_param_values == 2); 1089s # 1089s # if (G_CCLOSURE_SWAP_DATA (closure)) 1089s # { 1089s # data1 = closure->data; 1089s # data2 = g_value_peek_pointer (param_values + 0); 1089s # } 1089s # else 1089s # { 1089s # data1 = g_value_peek_pointer (param_values + 0); 1089s # data2 = closure->data; 1089s # } 1089s # 1089s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1089s # (marshal_data ? marshal_data : cc->callback); 1089s # 1089s # v_return = 1089s # callback (data1, 1089s # g_marshal_value_peek_object (param_values + 1), 1089s # data2); 1089s # 1089s # g_value_set_boolean (return_value, v_return); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.Bar.Frobnicator 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectBarFrobnicator 1089s # * @title: OrgProjectBarFrobnicator 1089s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1089s # */ 1089s # 1089s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1089s # 1089s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "RandomMethod", 1089s # NULL, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "handle-random-method", 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1089s # { 1089s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.Bar.Frobnicator", 1089s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1089s # NULL, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-bar-frobnicator", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_bar_frobnicator_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_bar_frobnicator_method_marshal_random_method ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicator: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorIface: 1089s # * @parent_iface: The parent interface. 1089s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1089s # */ 1089s # 1089s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1089s # { 1089s # /* GObject signals for incoming D-Bus method calls: */ 1089s # /** 1089s # * OrgProjectBarFrobnicator::handle-random-method: 1089s # * @object: A #OrgProjectBarFrobnicator. 1089s # * @invocation: A #GDBusMethodInvocation. 1089s # * 1089s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1089s # * 1089s # * 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. 1089s # * 1089s # * 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. 1089s # */ 1089s # g_signal_new ("handle-random-method", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1089s # g_signal_accumulator_true_handled, 1089s # NULL, 1089s # org_project_bar_frobnicator_method_marshal_random_method, 1089s # G_TYPE_BOOLEAN, 1089s # 1, 1089s # G_TYPE_DBUS_METHOD_INVOCATION); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_call_random_method: 1089s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1089s # */ 1089s # void 1089s # org_project_bar_frobnicator_call_random_method ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1089s # "RandomMethod", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # callback, 1089s # user_data); 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_call_random_method_finish: 1089s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # org_project_bar_frobnicator_call_random_method_finish ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_call_random_method_sync: 1089s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # org_project_bar_frobnicator_call_random_method_sync ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1089s # "RandomMethod", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_complete_random_method: 1089s # * @object: A #OrgProjectBarFrobnicator. 1089s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1089s # * 1089s # * 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. 1089s # * 1089s # * This method will free @invocation, you cannot use it afterwards. 1089s # */ 1089s # void 1089s # org_project_bar_frobnicator_complete_random_method ( 1089s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1089s # GDBusMethodInvocation *invocation) 1089s # { 1089s # g_dbus_method_invocation_return_value (invocation, 1089s # g_variant_new ("()")); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorProxy: 1089s # * 1089s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectBarFrobnicatorProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1089s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1089s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_bar_frobnicator_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectBarFrobnicator * 1089s # org_project_bar_frobnicator_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectBarFrobnicator * 1089s # org_project_bar_frobnicator_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_bar_frobnicator_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectBarFrobnicator * 1089s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectBarFrobnicator * 1089s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorSkeleton: 1089s # * 1089s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1089s # { 1089s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1089s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1089s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return org_project_bar_frobnicator_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1089s # { 1089s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1089s # */ 1089s # OrgProjectBarFrobnicator * 1089s # org_project_bar_frobnicator_skeleton_new (void) 1089s # { 1089s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface com.acme.Coyote 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:ComAcmeCoyote 1089s # * @title: ComAcmeCoyote 1089s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1089s # * 1089s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1089s # */ 1089s # 1089s # enum 1089s # { 1089s # _COM_ACME_COYOTE_SURPRISED, 1089s # }; 1089s # 1089s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1089s # 1089s # /* ---- Introspection data for com.acme.Coyote ---- */ 1089s # 1089s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "Run", 1089s # NULL, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "handle-run", 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "Sleep", 1089s # NULL, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "handle-sleep", 1089s # FALSE 1089s # }; 1089s # 1089s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "Attack", 1089s # NULL, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "handle-attack", 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1089s # { 1089s # &_com_acme_coyote_method_info_run.parent_struct, 1089s # &_com_acme_coyote_method_info_sleep.parent_struct, 1089s # &_com_acme_coyote_method_info_attack.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "Surprised", 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "surprised" 1089s # }; 1089s # 1089s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1089s # { 1089s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "Mood", 1089s # (gchar *) "s", 1089s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1089s # NULL 1089s # }, 1089s # "mood", 1089s # FALSE, 1089s # TRUE 1089s # }; 1089s # 1089s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1089s # { 1089s # &_com_acme_coyote_property_info_mood.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "com.acme.Coyote", 1089s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1089s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1089s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1089s # NULL 1089s # }, 1089s # "com-acme-coyote", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * com_acme_coyote_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # com_acme_coyote_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1089s # { 1089s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # com_acme_coyote_signal_marshal_surprised ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # g_cclosure_marshal_VOID__VOID (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # com_acme_coyote_method_marshal_run ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # com_acme_coyote_method_marshal_sleep ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # inline static void 1089s # com_acme_coyote_method_marshal_attack ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * ComAcmeCoyote: 1089s # * 1089s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1089s # */ 1089s # 1089s # /** 1089s # * ComAcmeCoyoteIface: 1089s # * @parent_iface: The parent interface. 1089s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1089s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1089s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1089s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1089s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1089s # * 1089s # * Virtual table for the D-Bus interface com.acme.Coyote. 1089s # */ 1089s # 1089s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1089s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1089s # { 1089s # /* GObject signals for incoming D-Bus method calls: */ 1089s # /** 1089s # * ComAcmeCoyote::handle-run: 1089s # * @object: A #ComAcmeCoyote. 1089s # * @invocation: A #GDBusMethodInvocation. 1089s # * 1089s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1089s # * 1089s # * 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. 1089s # * 1089s # * 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. 1089s # */ 1089s # g_signal_new ("handle-run", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1089s # g_signal_accumulator_true_handled, 1089s # NULL, 1089s # com_acme_coyote_method_marshal_run, 1089s # G_TYPE_BOOLEAN, 1089s # 1, 1089s # G_TYPE_DBUS_METHOD_INVOCATION); 1089s # 1089s # /** 1089s # * ComAcmeCoyote::handle-sleep: 1089s # * @object: A #ComAcmeCoyote. 1089s # * @invocation: A #GDBusMethodInvocation. 1089s # * 1089s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1089s # * 1089s # * 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. 1089s # * 1089s # * 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. 1089s # */ 1089s # g_signal_new ("handle-sleep", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1089s # g_signal_accumulator_true_handled, 1089s # NULL, 1089s # com_acme_coyote_method_marshal_sleep, 1089s # G_TYPE_BOOLEAN, 1089s # 1, 1089s # G_TYPE_DBUS_METHOD_INVOCATION); 1089s # 1089s # /** 1089s # * ComAcmeCoyote::handle-attack: 1089s # * @object: A #ComAcmeCoyote. 1089s # * @invocation: A #GDBusMethodInvocation. 1089s # * 1089s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1089s # * 1089s # * 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. 1089s # * 1089s # * 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. 1089s # */ 1089s # g_signal_new ("handle-attack", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1089s # g_signal_accumulator_true_handled, 1089s # NULL, 1089s # com_acme_coyote_method_marshal_attack, 1089s # G_TYPE_BOOLEAN, 1089s # 1, 1089s # G_TYPE_DBUS_METHOD_INVOCATION); 1089s # 1089s # /* GObject signals for received D-Bus signals: */ 1089s # /** 1089s # * ComAcmeCoyote::surprised: 1089s # * @object: A #ComAcmeCoyote. 1089s # * 1089s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1089s # * 1089s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1089s # */ 1089s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1089s # g_signal_new ("surprised", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1089s # NULL, 1089s # NULL, 1089s # com_acme_coyote_signal_marshal_surprised, 1089s # G_TYPE_NONE, 1089s # 0); 1089s # 1089s # /* GObject properties for D-Bus properties: */ 1089s # /** 1089s # * ComAcmeCoyote:mood: 1089s # * 1089s # * Represents the D-Bus property "Mood". 1089s # * 1089s # * 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. 1089s # */ 1089s # g_object_interface_install_property (iface, 1089s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_get_mood: (skip) 1089s # * @object: A #ComAcmeCoyote. 1089s # * 1089s # * Gets the value of the "Mood" D-Bus property. 1089s # * 1089s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1089s # * 1089s # * 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. 1089s # * 1089s # * 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. 1089s # */ 1089s # const gchar * 1089s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1089s # { 1089s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1089s # 1089s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_dup_mood: (skip) 1089s # * @object: A #ComAcmeCoyote. 1089s # * 1089s # * Gets a copy of the "Mood" D-Bus property. 1089s # * 1089s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1089s # * 1089s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1089s # */ 1089s # gchar * 1089s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1089s # { 1089s # gchar *value; 1089s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1089s # return value; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_set_mood: (skip) 1089s # * @object: A #ComAcmeCoyote. 1089s # * @value: The value to set. 1089s # * 1089s # * Sets the "Mood" D-Bus property to @value. 1089s # * 1089s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1089s # */ 1089s # void 1089s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1089s # { 1089s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_emit_surprised: 1089s # * @object: A #ComAcmeCoyote. 1089s # * 1089s # * Emits the "Surprised" D-Bus signal. 1089s # */ 1089s # void 1089s # com_acme_coyote_emit_surprised ( 1089s # ComAcmeCoyote *object) 1089s # { 1089s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_call_run: 1089s # * @proxy: A #ComAcmeCoyoteProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1089s # * 1089s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1089s # */ 1089s # void 1089s # com_acme_coyote_call_run ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1089s # "Run", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # callback, 1089s # user_data); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_call_run_finish: 1089s # * @proxy: A #ComAcmeCoyoteProxy. 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Finishes an operation started with com_acme_coyote_call_run(). 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # com_acme_coyote_call_run_finish ( 1089s # ComAcmeCoyote *proxy, 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_call_run_sync: 1089s # * @proxy: A #ComAcmeCoyoteProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1089s # * 1089s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # com_acme_coyote_call_run_sync ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1089s # "Run", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_call_sleep: 1089s # * @proxy: A #ComAcmeCoyoteProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1089s # * 1089s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1089s # */ 1089s # void 1089s # com_acme_coyote_call_sleep ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1089s # "Sleep", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # callback, 1089s # user_data); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_call_sleep_finish: 1089s # * @proxy: A #ComAcmeCoyoteProxy. 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # com_acme_coyote_call_sleep_finish ( 1089s # ComAcmeCoyote *proxy, 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_call_sleep_sync: 1089s # * @proxy: A #ComAcmeCoyoteProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1089s # * 1089s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # com_acme_coyote_call_sleep_sync ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1089s # "Sleep", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_call_attack: 1089s # * @proxy: A #ComAcmeCoyoteProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1089s # * 1089s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1089s # */ 1089s # void 1089s # com_acme_coyote_call_attack ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1089s # "Attack", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # callback, 1089s # user_data); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_call_attack_finish: 1089s # * @proxy: A #ComAcmeCoyoteProxy. 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Finishes an operation started with com_acme_coyote_call_attack(). 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # com_acme_coyote_call_attack_finish ( 1089s # ComAcmeCoyote *proxy, 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_call_attack_sync: 1089s # * @proxy: A #ComAcmeCoyoteProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1089s # * 1089s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # com_acme_coyote_call_attack_sync ( 1089s # ComAcmeCoyote *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1089s # "Attack", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_complete_run: 1089s # * @object: A #ComAcmeCoyote. 1089s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1089s # * 1089s # * 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. 1089s # * 1089s # * This method will free @invocation, you cannot use it afterwards. 1089s # */ 1089s # void 1089s # com_acme_coyote_complete_run ( 1089s # ComAcmeCoyote *object G_GNUC_UNUSED, 1089s # GDBusMethodInvocation *invocation) 1089s # { 1089s # g_dbus_method_invocation_return_value (invocation, 1089s # g_variant_new ("()")); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_complete_sleep: 1089s # * @object: A #ComAcmeCoyote. 1089s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1089s # * 1089s # * 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. 1089s # * 1089s # * This method will free @invocation, you cannot use it afterwards. 1089s # */ 1089s # void 1089s # com_acme_coyote_complete_sleep ( 1089s # ComAcmeCoyote *object G_GNUC_UNUSED, 1089s # GDBusMethodInvocation *invocation) 1089s # { 1089s # g_dbus_method_invocation_return_value (invocation, 1089s # g_variant_new ("()")); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_complete_attack: 1089s # * @object: A #ComAcmeCoyote. 1089s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1089s # * 1089s # * 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. 1089s # * 1089s # * This method will free @invocation, you cannot use it afterwards. 1089s # */ 1089s # void 1089s # com_acme_coyote_complete_attack ( 1089s # ComAcmeCoyote *object G_GNUC_UNUSED, 1089s # GDBusMethodInvocation *invocation) 1089s # { 1089s # g_dbus_method_invocation_return_value (invocation, 1089s # g_variant_new ("()")); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * ComAcmeCoyoteProxy: 1089s # * 1089s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * ComAcmeCoyoteProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #ComAcmeCoyoteProxy. 1089s # */ 1089s # 1089s # struct _ComAcmeCoyoteProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # com_acme_coyote_proxy_finalize (GObject *object) 1089s # { 1089s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_proxy_get_property (GObject *object, 1089s # guint prop_id, 1089s # GValue *value, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *variant; 1089s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1089s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1089s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1089s # if (info->use_gvariant) 1089s # { 1089s # g_value_set_variant (value, variant); 1089s # } 1089s # else 1089s # { 1089s # if (variant != NULL) 1089s # g_dbus_gvariant_to_gvalue (variant, value); 1089s # } 1089s # if (variant != NULL) 1089s # g_variant_unref (variant); 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1089s # GAsyncResult *res, 1089s # gpointer user_data) 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info = user_data; 1089s # GError *error; 1089s # GVariant *_ret; 1089s # error = NULL; 1089s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1089s # if (!_ret) 1089s # { 1089s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1089s # info->parent_struct.name, 1089s # error->message, g_quark_to_string (error->domain), error->code); 1089s # g_error_free (error); 1089s # } 1089s # else 1089s # { 1089s # g_variant_unref (_ret); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_proxy_set_property (GObject *object, 1089s # guint prop_id, 1089s # const GValue *value, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *variant; 1089s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1089s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1089s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1089s # "org.freedesktop.DBus.Properties.Set", 1089s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1089s # g_variant_unref (variant); 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static const gchar * 1089s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1089s # { 1089s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1089s # GVariant *variant; 1089s # const gchar *value = NULL; 1089s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1089s # if (variant != NULL) 1089s # { 1089s # value = g_variant_get_string (variant, NULL); 1089s # g_variant_unref (variant); 1089s # } 1089s # return value; 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1089s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1089s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1089s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1089s # 1089s # com_acme_coyote_override_properties (gobject_class, 1); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1089s # { 1089s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # com_acme_coyote_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # ComAcmeCoyote * 1089s # com_acme_coyote_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return COM_ACME_COYOTE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # ComAcmeCoyote * 1089s # com_acme_coyote_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return COM_ACME_COYOTE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * com_acme_coyote_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # com_acme_coyote_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # ComAcmeCoyote * 1089s # com_acme_coyote_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return COM_ACME_COYOTE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # ComAcmeCoyote * 1089s # com_acme_coyote_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return COM_ACME_COYOTE (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * ComAcmeCoyoteSkeleton: 1089s # * 1089s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * ComAcmeCoyoteSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #ComAcmeCoyoteSkeleton. 1089s # */ 1089s # 1089s # struct _ComAcmeCoyoteSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _com_acme_coyote_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _com_acme_coyote_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _com_acme_coyote_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GVariant *variant, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # gboolean ret; 1089s # ret = FALSE; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # if (info->use_gvariant) 1089s # g_value_set_variant (&value, variant); 1089s # else 1089s # g_dbus_gvariant_to_gvalue (variant, &value); 1089s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # g_value_unset (&value); 1089s # ret = TRUE; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1089s # { 1089s # _com_acme_coyote_skeleton_handle_method_call, 1089s # _com_acme_coyote_skeleton_handle_get_property, 1089s # _com_acme_coyote_skeleton_handle_set_property, 1089s # {NULL} 1089s # }; 1089s # 1089s # static GDBusInterfaceInfo * 1089s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return com_acme_coyote_interface_info (); 1089s # } 1089s # 1089s # static GDBusInterfaceVTable * 1089s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1089s # { 1089s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1089s # } 1089s # 1089s # static GVariant * 1089s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1089s # 1089s # GVariantBuilder builder; 1089s # guint n; 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #else 1089s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # #endif 1089s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1089s # goto out; 1089s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1089s # { 1089s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1089s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1089s # { 1089s # GVariant *value; 1089s # 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); 1089s # if (value != NULL) 1089s # { 1089s # g_variant_take_ref (value); 1089s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1089s # g_variant_unref (value); 1089s # } 1089s # } 1089s # } 1089s # out: 1089s # return g_variant_builder_end (&builder); 1089s # } 1089s # 1089s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1089s # 1089s # static void 1089s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1089s # gboolean emit_changed = FALSE; 1089s # 1089s # g_mutex_lock (&skeleton->priv->lock); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # { 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # skeleton->priv->changed_properties_idle_source = NULL; 1089s # emit_changed = TRUE; 1089s # } 1089s # g_mutex_unlock (&skeleton->priv->lock); 1089s # 1089s # if (emit_changed) 1089s # _com_acme_coyote_emit_changed (skeleton); 1089s # } 1089s # 1089s # static void 1089s # _com_acme_coyote_on_signal_surprised ( 1089s # ComAcmeCoyote *object) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1089s # 1089s # GList *connections, *l; 1089s # GVariant *signal_variant; 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1089s # for (l = connections; l != NULL; l = l->next) 1089s # { 1089s # GDBusConnection *connection = l->data; 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1089s # signal_variant, NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # 1089s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1089s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1089s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # com_acme_coyote_skeleton_finalize (GObject *object) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1089s # guint n; 1089s # for (n = 0; n < 1; n++) 1089s # g_value_unset (&skeleton->priv->properties[n]); 1089s # g_free (skeleton->priv->properties); 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # if (skeleton->priv->changed_properties_idle_source != NULL) 1089s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1089s # g_main_context_unref (skeleton->priv->context); 1089s # g_mutex_clear (&skeleton->priv->lock); 1089s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_skeleton_get_property (GObject *object, 1089s # guint prop_id, 1089s # GValue *value, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1089s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1089s # g_mutex_lock (&skeleton->priv->lock); 1089s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1089s # g_mutex_unlock (&skeleton->priv->lock); 1089s # } 1089s # 1089s # static gboolean 1089s # _com_acme_coyote_emit_changed (gpointer user_data) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1089s # GList *l; 1089s # GVariantBuilder builder; 1089s # GVariantBuilder invalidated_builder; 1089s # guint num_changes; 1089s # 1089s # g_mutex_lock (&skeleton->priv->lock); 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1089s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1089s # #else 1089s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1089s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1089s # #endif 1089s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1089s # { 1089s # ChangedProperty *cp = l->data; 1089s # GVariant *variant; 1089s # const GValue *cur_value; 1089s # 1089s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1089s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1089s # { 1089s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1089s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1089s # g_variant_unref (variant); 1089s # num_changes++; 1089s # } 1089s # } 1089s # if (num_changes > 0) 1089s # { 1089s # GList *connections, *ll; 1089s # GVariant *signal_variant; 1089s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1089s # &builder, &invalidated_builder)); 1089s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1089s # for (ll = connections; ll != NULL; ll = ll->next) 1089s # { 1089s # GDBusConnection *connection = ll->data; 1089s # 1089s # g_dbus_connection_emit_signal (connection, 1089s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1089s # "org.freedesktop.DBus.Properties", 1089s # "PropertiesChanged", 1089s # signal_variant, 1089s # NULL); 1089s # } 1089s # g_variant_unref (signal_variant); 1089s # g_list_free_full (connections, g_object_unref); 1089s # } 1089s # else 1089s # { 1089s # g_variant_builder_clear (&builder); 1089s # g_variant_builder_clear (&invalidated_builder); 1089s # } 1089s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1089s # skeleton->priv->changed_properties = NULL; 1089s # skeleton->priv->changed_properties_idle_source = NULL; 1089s # g_mutex_unlock (&skeleton->priv->lock); 1089s # return FALSE; 1089s # } 1089s # 1089s # static void 1089s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1089s # { 1089s # ChangedProperty *cp; 1089s # GList *l; 1089s # cp = NULL; 1089s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1089s # { 1089s # ChangedProperty *i_cp = l->data; 1089s # if (i_cp->info == info) 1089s # { 1089s # cp = i_cp; 1089s # break; 1089s # } 1089s # } 1089s # if (cp == NULL) 1089s # { 1089s # cp = g_new0 (ChangedProperty, 1); 1089s # cp->prop_id = prop_id; 1089s # cp->info = info; 1089s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1089s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1089s # g_value_copy (orig_value, &cp->orig_value); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_skeleton_notify (GObject *object, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1089s # g_mutex_lock (&skeleton->priv->lock); 1089s # if (skeleton->priv->changed_properties != NULL && 1089s # skeleton->priv->changed_properties_idle_source == NULL) 1089s # { 1089s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1089s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1089s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1089s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1089s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1089s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1089s # } 1089s # g_mutex_unlock (&skeleton->priv->lock); 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_skeleton_set_property (GObject *object, 1089s # guint prop_id, 1089s # const GValue *value, 1089s # GParamSpec *pspec) 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1089s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1089s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1089s # g_mutex_lock (&skeleton->priv->lock); 1089s # g_object_freeze_notify (object); 1089s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1089s # { 1089s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1089s # info->emits_changed_signal) 1089s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1089s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1089s # g_object_notify_by_pspec (object, pspec); 1089s # } 1089s # g_mutex_unlock (&skeleton->priv->lock); 1089s # g_object_thaw_notify (object); 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1089s # #else 1089s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1089s # #endif 1089s # 1089s # g_mutex_init (&skeleton->priv->lock); 1089s # skeleton->priv->context = g_main_context_ref_thread_default (); 1089s # skeleton->priv->properties = g_new0 (GValue, 1); 1089s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1089s # } 1089s # 1089s # static const gchar * 1089s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1089s # { 1089s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1089s # const gchar *value; 1089s # g_mutex_lock (&skeleton->priv->lock); 1089s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1089s # g_mutex_unlock (&skeleton->priv->lock); 1089s # return value; 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusInterfaceSkeletonClass *skeleton_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1089s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1089s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1089s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1089s # 1089s # 1089s # com_acme_coyote_override_properties (gobject_class, 1); 1089s # 1089s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1089s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1089s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1089s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1089s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1089s # { 1089s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1089s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1089s # } 1089s # 1089s # /** 1089s # * com_acme_coyote_skeleton_new: 1089s # * 1089s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1089s # * 1089s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1089s # */ 1089s # ComAcmeCoyote * 1089s # com_acme_coyote_skeleton_new (void) 1089s # { 1089s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1089s # } 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn6i8f5jy/tmp7cuyebwi2.xml', '/tmp/tmpn6i8f5jy/tmpqvnpynnl1.xml', '--output', '-', '--body'] 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': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifdef HAVE_CONFIG_H 1089s # # include "config.h" 1089s # #endif 1089s # 1089s # #include 1089s # #ifdef G_OS_UNIX 1089s # # include 1089s # #endif 1089s # 1089s # #ifdef G_ENABLE_DEBUG 1089s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1089s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1089s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1089s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1089s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1089s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1089s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1089s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1089s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1089s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1089s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1089s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1089s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1089s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1089s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1089s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1089s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1089s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1089s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1089s # #else /* !G_ENABLE_DEBUG */ 1089s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1089s # * Do not access GValues directly in your code. Instead, use the 1089s # * g_value_get_*() functions 1089s # */ 1089s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1089s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1089s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1089s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1089s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1089s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1089s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1089s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1089s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1089s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1089s # #endif /* !G_ENABLE_DEBUG */ 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusArgInfo parent_struct; 1089s # gboolean use_gvariant; 1089s # } _ExtendedGDBusArgInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusMethodInfo parent_struct; 1089s # const gchar *signal_name; 1089s # gboolean pass_fdlist; 1089s # } _ExtendedGDBusMethodInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusSignalInfo parent_struct; 1089s # const gchar *signal_name; 1089s # } _ExtendedGDBusSignalInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusPropertyInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # guint use_gvariant : 1; 1089s # guint emits_changed_signal : 1; 1089s # } _ExtendedGDBusPropertyInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # GDBusInterfaceInfo parent_struct; 1089s # const gchar *hyphen_name; 1089s # } _ExtendedGDBusInterfaceInfo; 1089s # 1089s # typedef struct 1089s # { 1089s # const _ExtendedGDBusPropertyInfo *info; 1089s # guint prop_id; 1089s # GValue orig_value; /* the value before the change */ 1089s # } ChangedProperty; 1089s # 1089s # static void 1089s # _changed_property_free (ChangedProperty *data) 1089s # { 1089s # g_value_unset (&data->orig_value); 1089s # g_free (data); 1089s # } 1089s # 1089s # static gboolean 1089s # _g_strv_equal0 (gchar **a, gchar **b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # guint n; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # if (g_strv_length (a) != g_strv_length (b)) 1089s # goto out; 1089s # for (n = 0; a[n] != NULL; n++) 1089s # if (g_strcmp0 (a[n], b[n]) != 0) 1089s # goto out; 1089s # ret = TRUE; 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _g_variant_equal0 (GVariant *a, GVariant *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # if (a == NULL && b == NULL) 1089s # { 1089s # ret = TRUE; 1089s # goto out; 1089s # } 1089s # if (a == NULL || b == NULL) 1089s # goto out; 1089s # ret = g_variant_equal (a, b); 1089s # out: 1089s # return ret; 1089s # } 1089s # 1089s # G_GNUC_UNUSED static gboolean 1089s # _g_value_equal (const GValue *a, const GValue *b) 1089s # { 1089s # gboolean ret = FALSE; 1089s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1089s # switch (G_VALUE_TYPE (a)) 1089s # { 1089s # case G_TYPE_BOOLEAN: 1089s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1089s # break; 1089s # case G_TYPE_UCHAR: 1089s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1089s # break; 1089s # case G_TYPE_INT: 1089s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1089s # break; 1089s # case G_TYPE_UINT: 1089s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1089s # break; 1089s # case G_TYPE_INT64: 1089s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1089s # break; 1089s # case G_TYPE_UINT64: 1089s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1089s # break; 1089s # case G_TYPE_DOUBLE: 1089s # { 1089s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1089s # gdouble da = g_value_get_double (a); 1089s # gdouble db = g_value_get_double (b); 1089s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1089s # } 1089s # break; 1089s # case G_TYPE_STRING: 1089s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1089s # break; 1089s # case G_TYPE_VARIANT: 1089s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1089s # break; 1089s # default: 1089s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1089s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1089s # else 1089s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1089s # break; 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static void 1089s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint G_GNUC_UNUSED, 1089s # void *marshal_data) 1089s # { 1089s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1089s # (void *data1, 1089s # GDBusMethodInvocation *arg_method_invocation, 1089s # void *data2); 1089s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1089s # GCClosure *cc = (GCClosure*) closure; 1089s # void *data1, *data2; 1089s # gboolean v_return; 1089s # 1089s # g_return_if_fail (return_value != NULL); 1089s # g_return_if_fail (n_param_values == 2); 1089s # 1089s # if (G_CCLOSURE_SWAP_DATA (closure)) 1089s # { 1089s # data1 = closure->data; 1089s # data2 = g_value_peek_pointer (param_values + 0); 1089s # } 1089s # else 1089s # { 1089s # data1 = g_value_peek_pointer (param_values + 0); 1089s # data2 = closure->data; 1089s # } 1089s # 1089s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1089s # (marshal_data ? marshal_data : cc->callback); 1089s # 1089s # v_return = 1089s # callback (data1, 1089s # g_marshal_value_peek_object (param_values + 1), 1089s # data2); 1089s # 1089s # g_value_set_boolean (return_value, v_return); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ 1089s # * Code for interface org.project.Bar.Frobnicator 1089s # * ------------------------------------------------------------------------ 1089s # */ 1089s # 1089s # /** 1089s # * SECTION:OrgProjectBarFrobnicator 1089s # * @title: OrgProjectBarFrobnicator 1089s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1089s # * 1089s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1089s # */ 1089s # 1089s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1089s # 1089s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "RandomMethod", 1089s # NULL, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "handle-random-method", 1089s # FALSE 1089s # }; 1089s # 1089s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1089s # { 1089s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1089s # NULL 1089s # }; 1089s # 1089s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1089s # { 1089s # { 1089s # -1, 1089s # (gchar *) "org.project.Bar.Frobnicator", 1089s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1089s # NULL, 1089s # NULL, 1089s # NULL 1089s # }, 1089s # "org-project-bar-frobnicator", 1089s # }; 1089s # 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_interface_info: 1089s # * 1089s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1089s # * 1089s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1089s # */ 1089s # GDBusInterfaceInfo * 1089s # org_project_bar_frobnicator_interface_info (void) 1089s # { 1089s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_override_properties: 1089s # * @klass: The class structure for a #GObject derived class. 1089s # * @property_id_begin: The property id to assign to the first overridden property. 1089s # * 1089s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1089s # * The properties are overridden in the order they are defined. 1089s # * 1089s # * Returns: The last property id. 1089s # */ 1089s # guint 1089s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1089s # { 1089s # return property_id_begin - 1; 1089s # } 1089s # 1089s # 1089s # inline static void 1089s # org_project_bar_frobnicator_method_marshal_random_method ( 1089s # GClosure *closure, 1089s # GValue *return_value, 1089s # unsigned int n_param_values, 1089s # const GValue *param_values, 1089s # void *invocation_hint, 1089s # void *marshal_data) 1089s # { 1089s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1089s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1089s # } 1089s # 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicator: 1089s # * 1089s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorIface: 1089s # * @parent_iface: The parent interface. 1089s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1089s # * 1089s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1089s # */ 1089s # 1089s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1089s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1089s # { 1089s # /* GObject signals for incoming D-Bus method calls: */ 1089s # /** 1089s # * OrgProjectBarFrobnicator::handle-random-method: 1089s # * @object: A #OrgProjectBarFrobnicator. 1089s # * @invocation: A #GDBusMethodInvocation. 1089s # * 1089s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1089s # * 1089s # * 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. 1089s # * 1089s # * 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. 1089s # */ 1089s # g_signal_new ("handle-random-method", 1089s # G_TYPE_FROM_INTERFACE (iface), 1089s # G_SIGNAL_RUN_LAST, 1089s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1089s # g_signal_accumulator_true_handled, 1089s # NULL, 1089s # org_project_bar_frobnicator_method_marshal_random_method, 1089s # G_TYPE_BOOLEAN, 1089s # 1, 1089s # G_TYPE_DBUS_METHOD_INVOCATION); 1089s # 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_call_random_method: 1089s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1089s # */ 1089s # void 1089s # org_project_bar_frobnicator_call_random_method ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1089s # "RandomMethod", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # callback, 1089s # user_data); 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_call_random_method_finish: 1089s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # org_project_bar_frobnicator_call_random_method_finish ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_call_random_method_sync: 1089s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL. 1089s # * 1089s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1089s # * 1089s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1089s # */ 1089s # gboolean 1089s # org_project_bar_frobnicator_call_random_method_sync ( 1089s # OrgProjectBarFrobnicator *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GVariant *_ret; 1089s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1089s # "RandomMethod", 1089s # g_variant_new ("()"), 1089s # G_DBUS_CALL_FLAGS_NONE, 1089s # -1, 1089s # cancellable, 1089s # error); 1089s # if (_ret == NULL) 1089s # goto _out; 1089s # g_variant_get (_ret, 1089s # "()"); 1089s # g_variant_unref (_ret); 1089s # _out: 1089s # return _ret != NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_complete_random_method: 1089s # * @object: A #OrgProjectBarFrobnicator. 1089s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1089s # * 1089s # * 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. 1089s # * 1089s # * This method will free @invocation, you cannot use it afterwards. 1089s # */ 1089s # void 1089s # org_project_bar_frobnicator_complete_random_method ( 1089s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1089s # GDBusMethodInvocation *invocation) 1089s # { 1089s # g_dbus_method_invocation_return_value (invocation, 1089s # g_variant_new ("()")); 1089s # } 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorProxy: 1089s # * 1089s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorProxyClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1089s # */ 1089s # 1089s # struct _OrgProjectBarFrobnicatorProxyPrivate 1089s # { 1089s # GData *qdata; 1089s # }; 1089s # 1089s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1089s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1089s # 1089s # #else 1089s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1089s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1089s # 1089s # #endif 1089s # static void 1089s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1089s # { 1089s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1089s # g_datalist_clear (&proxy->priv->qdata); 1089s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1089s # guint prop_id G_GNUC_UNUSED, 1089s # const GValue *value G_GNUC_UNUSED, 1089s # GParamSpec *pspec G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1089s # const gchar *sender_name G_GNUC_UNUSED, 1089s # const gchar *signal_name, 1089s # GVariant *parameters) 1089s # { 1089s # _ExtendedGDBusSignalInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # gsize n; 1089s # guint signal_id; 1089s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1089s # if (info == NULL) 1089s # return; 1089s # num_params = g_variant_n_children (parameters); 1089s # paramv = g_new0 (GValue, num_params + 1); 1089s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1089s # g_value_set_object (¶mv[0], proxy); 1089s # g_variant_iter_init (&iter, parameters); 1089s # n = 1; 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1089s # g_signal_emitv (paramv, signal_id, 0, NULL); 1089s # for (n = 0; n < num_params + 1; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1089s # GVariant *changed_properties, 1089s # const gchar *const *invalidated_properties) 1089s # { 1089s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1089s # guint n; 1089s # const gchar *key; 1089s # GVariantIter *iter; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # g_variant_get (changed_properties, "a{sv}", &iter); 1089s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1089s # g_datalist_remove_data (&proxy->priv->qdata, key); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # g_variant_iter_free (iter); 1089s # for (n = 0; invalidated_properties[n] != NULL; n++) 1089s # { 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1089s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1089s # if (info != NULL) 1089s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1089s # } 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1089s # { 1089s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1089s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1089s # #else 1089s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1089s # #endif 1089s # 1089s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1089s # { 1089s # GObjectClass *gobject_class; 1089s # GDBusProxyClass *proxy_class; 1089s # 1089s # gobject_class = G_OBJECT_CLASS (klass); 1089s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1089s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1089s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1089s # 1089s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1089s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1089s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1089s # 1089s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1089s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1089s # #endif 1089s # } 1089s # 1089s # static void 1089s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1089s # { 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_bar_frobnicator_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectBarFrobnicator * 1089s # org_project_bar_frobnicator_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_sync: 1089s # * @connection: A #GDBusConnection. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectBarFrobnicator * 1089s # org_project_bar_frobnicator_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_for_bus: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1089s # * @user_data: User data to pass to @callback. 1089s # * 1089s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1089s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1089s # * 1089s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1089s # */ 1089s # void 1089s # org_project_bar_frobnicator_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data) 1089s # { 1089s # 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); 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1089s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectBarFrobnicator * 1089s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error) 1089s # { 1089s # GObject *ret; 1089s # GObject *source_object; 1089s # source_object = g_async_result_get_source_object (res); 1089s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1089s # g_object_unref (source_object); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # /** 1089s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1089s # * @bus_type: A #GBusType. 1089s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1089s # * @name: A bus name (well-known or unique). 1089s # * @object_path: An object path. 1089s # * @cancellable: (nullable): A #GCancellable or %NULL. 1089s # * @error: Return location for error or %NULL 1089s # * 1089s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1089s # * 1089s # * The calling thread is blocked until a reply is received. 1089s # * 1089s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1089s # * 1089s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1089s # */ 1089s # OrgProjectBarFrobnicator * 1089s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error) 1089s # { 1089s # GInitable *ret; 1089s # 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); 1089s # if (ret != NULL) 1089s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1089s # else 1089s # return NULL; 1089s # } 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorSkeleton: 1089s # * 1089s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1089s # */ 1089s # 1089s # /** 1089s # * OrgProjectBarFrobnicatorSkeletonClass: 1089s # * @parent_class: The parent class. 1089s # * 1089s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1089s # */ 1089s # 1089s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1089s # { 1089s # GValue *properties; 1089s # GList *changed_properties; 1089s # GSource *changed_properties_idle_source; 1089s # GMainContext *context; 1089s # GMutex lock; 1089s # }; 1089s # 1089s # static void 1089s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name, 1089s # const gchar *method_name, 1089s # GVariant *parameters, 1089s # GDBusMethodInvocation *invocation, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1089s # _ExtendedGDBusMethodInfo *info; 1089s # GVariantIter iter; 1089s # GVariant *child; 1089s # GValue *paramv; 1089s # gsize num_params; 1089s # guint num_extra; 1089s # gsize n; 1089s # guint signal_id; 1089s # GValue return_value = G_VALUE_INIT; 1089s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1089s # g_assert (info != NULL); 1089s # num_params = g_variant_n_children (parameters); 1089s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1089s # n = 0; 1089s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1089s # g_value_set_object (¶mv[n++], skeleton); 1089s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1089s # g_value_set_object (¶mv[n++], invocation); 1089s # if (info->pass_fdlist) 1089s # { 1089s # #ifdef G_OS_UNIX 1089s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1089s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1089s # #else 1089s # g_assert_not_reached (); 1089s # #endif 1089s # } 1089s # g_variant_iter_init (&iter, parameters); 1089s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1089s # { 1089s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1089s # if (arg_info->use_gvariant) 1089s # { 1089s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1089s # g_value_set_variant (¶mv[n], child); 1089s # n++; 1089s # } 1089s # else 1089s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1089s # g_variant_unref (child); 1089s # } 1089s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1089s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1089s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1089s # if (!g_value_get_boolean (&return_value)) 1089s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1089s # g_value_unset (&return_value); 1089s # for (n = 0; n < num_params + num_extra; n++) 1089s # g_value_unset (¶mv[n]); 1089s # g_free (paramv); 1089s # } 1089s # 1089s # static GVariant * 1089s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1089s # const gchar *object_path G_GNUC_UNUSED, 1089s # const gchar *interface_name G_GNUC_UNUSED, 1089s # const gchar *property_name, 1089s # GError **error, 1089s # gpointer user_data) 1089s # { 1089s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1089s # GValue value = G_VALUE_INIT; 1089s # GParamSpec *pspec; 1089s # _ExtendedGDBusPropertyInfo *info; 1089s # GVariant *ret; 1089s # ret = NULL; 1089s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1089s # g_assert (info != NULL); 1089s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1089s # if (pspec == NULL) 1089s # { 1089s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1089s # } 1089s # else 1089s # { 1089s # g_value_init (&value, pspec->value_type); 1089s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1089s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1089s # g_value_unset (&value); 1089s # } 1089s # return ret; 1089s # } 1089s # 1089s # static gboolean 1089s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1089s # GDBusConnection *connection G_GNUC_UNUSED, 1089s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GVariant *variant, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # gboolean ret; 1090s # ret = FALSE; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # if (info->use_gvariant) 1090s # g_value_set_variant (&value, variant); 1090s # else 1090s # g_dbus_gvariant_to_gvalue (variant, &value); 1090s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # g_value_unset (&value); 1090s # ret = TRUE; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1090s # { 1090s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1090s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1090s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1090s # {NULL} 1090s # }; 1090s # 1090s # static GDBusInterfaceInfo * 1090s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return org_project_bar_frobnicator_interface_info (); 1090s # } 1090s # 1090s # static GDBusInterfaceVTable * 1090s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1090s # } 1090s # 1090s # static GVariant * 1090s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1090s # 1090s # GVariantBuilder builder; 1090s # guint n; 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1090s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # #else 1090s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # #endif 1090s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1090s # goto out; 1090s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1090s # { 1090s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1090s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1090s # { 1090s # GVariant *value; 1090s # 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); 1090s # if (value != NULL) 1090s # { 1090s # g_variant_take_ref (value); 1090s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1090s # g_variant_unref (value); 1090s # } 1090s # } 1090s # } 1090s # out: 1090s # return g_variant_builder_end (&builder); 1090s # } 1090s # 1090s # static void 1090s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1090s # { 1090s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # g_main_context_unref (skeleton->priv->context); 1090s # g_mutex_clear (&skeleton->priv->lock); 1090s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1090s # #else 1090s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1090s # #endif 1090s # 1090s # g_mutex_init (&skeleton->priv->lock); 1090s # skeleton->priv->context = g_main_context_ref_thread_default (); 1090s # } 1090s # 1090s # static void 1090s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusInterfaceSkeletonClass *skeleton_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1090s # 1090s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1090s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1090s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1090s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1090s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # /** 1090s # * org_project_bar_frobnicator_skeleton_new: 1090s # * 1090s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1090s # */ 1090s # OrgProjectBarFrobnicator * 1090s # org_project_bar_frobnicator_skeleton_new (void) 1090s # { 1090s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ 1090s # * Code for interface com.acme.Coyote 1090s # * ------------------------------------------------------------------------ 1090s # */ 1090s # 1090s # /** 1090s # * SECTION:ComAcmeCoyote 1090s # * @title: ComAcmeCoyote 1090s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1090s # * 1090s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1090s # */ 1090s # 1090s # enum 1090s # { 1090s # _COM_ACME_COYOTE_SURPRISED, 1090s # }; 1090s # 1090s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1090s # 1090s # /* ---- Introspection data for com.acme.Coyote ---- */ 1090s # 1090s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "Run", 1090s # NULL, 1090s # NULL, 1090s # NULL 1090s # }, 1090s # "handle-run", 1090s # FALSE 1090s # }; 1090s # 1090s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "Sleep", 1090s # NULL, 1090s # NULL, 1090s # NULL 1090s # }, 1090s # "handle-sleep", 1090s # FALSE 1090s # }; 1090s # 1090s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "Attack", 1090s # NULL, 1090s # NULL, 1090s # NULL 1090s # }, 1090s # "handle-attack", 1090s # FALSE 1090s # }; 1090s # 1090s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1090s # { 1090s # &_com_acme_coyote_method_info_run.parent_struct, 1090s # &_com_acme_coyote_method_info_sleep.parent_struct, 1090s # &_com_acme_coyote_method_info_attack.parent_struct, 1090s # NULL 1090s # }; 1090s # 1090s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "Surprised", 1090s # NULL, 1090s # NULL 1090s # }, 1090s # "surprised" 1090s # }; 1090s # 1090s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1090s # { 1090s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1090s # NULL 1090s # }; 1090s # 1090s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "Mood", 1090s # (gchar *) "s", 1090s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1090s # NULL 1090s # }, 1090s # "mood", 1090s # FALSE, 1090s # TRUE 1090s # }; 1090s # 1090s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1090s # { 1090s # &_com_acme_coyote_property_info_mood.parent_struct, 1090s # NULL 1090s # }; 1090s # 1090s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "com.acme.Coyote", 1090s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1090s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1090s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1090s # NULL 1090s # }, 1090s # "com-acme-coyote", 1090s # }; 1090s # 1090s # 1090s # /** 1090s # * com_acme_coyote_interface_info: 1090s # * 1090s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1090s # * 1090s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1090s # */ 1090s # GDBusInterfaceInfo * 1090s # com_acme_coyote_interface_info (void) 1090s # { 1090s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_override_properties: 1090s # * @klass: The class structure for a #GObject derived class. 1090s # * @property_id_begin: The property id to assign to the first overridden property. 1090s # * 1090s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1090s # * The properties are overridden in the order they are defined. 1090s # * 1090s # * Returns: The last property id. 1090s # */ 1090s # guint 1090s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1090s # { 1090s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1090s # return property_id_begin - 1; 1090s # } 1090s # 1090s # 1090s # inline static void 1090s # com_acme_coyote_signal_marshal_surprised ( 1090s # GClosure *closure, 1090s # GValue *return_value, 1090s # unsigned int n_param_values, 1090s # const GValue *param_values, 1090s # void *invocation_hint, 1090s # void *marshal_data) 1090s # { 1090s # g_cclosure_marshal_VOID__VOID (closure, 1090s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1090s # } 1090s # 1090s # inline static void 1090s # com_acme_coyote_method_marshal_run ( 1090s # GClosure *closure, 1090s # GValue *return_value, 1090s # unsigned int n_param_values, 1090s # const GValue *param_values, 1090s # void *invocation_hint, 1090s # void *marshal_data) 1090s # { 1090s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1090s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1090s # } 1090s # 1090s # inline static void 1090s # com_acme_coyote_method_marshal_sleep ( 1090s # GClosure *closure, 1090s # GValue *return_value, 1090s # unsigned int n_param_values, 1090s # const GValue *param_values, 1090s # void *invocation_hint, 1090s # void *marshal_data) 1090s # { 1090s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1090s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1090s # } 1090s # 1090s # inline static void 1090s # com_acme_coyote_method_marshal_attack ( 1090s # GClosure *closure, 1090s # GValue *return_value, 1090s # unsigned int n_param_values, 1090s # const GValue *param_values, 1090s # void *invocation_hint, 1090s # void *marshal_data) 1090s # { 1090s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1090s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1090s # } 1090s # 1090s # 1090s # /** 1090s # * ComAcmeCoyote: 1090s # * 1090s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1090s # */ 1090s # 1090s # /** 1090s # * ComAcmeCoyoteIface: 1090s # * @parent_iface: The parent interface. 1090s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1090s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1090s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1090s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1090s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1090s # * 1090s # * Virtual table for the D-Bus interface com.acme.Coyote. 1090s # */ 1090s # 1090s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1090s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1090s # 1090s # static void 1090s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1090s # { 1090s # /* GObject signals for incoming D-Bus method calls: */ 1090s # /** 1090s # * ComAcmeCoyote::handle-run: 1090s # * @object: A #ComAcmeCoyote. 1090s # * @invocation: A #GDBusMethodInvocation. 1090s # * 1090s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1090s # * 1090s # * 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. 1090s # * 1090s # * 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. 1090s # */ 1090s # g_signal_new ("handle-run", 1090s # G_TYPE_FROM_INTERFACE (iface), 1090s # G_SIGNAL_RUN_LAST, 1090s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1090s # g_signal_accumulator_true_handled, 1090s # NULL, 1090s # com_acme_coyote_method_marshal_run, 1090s # G_TYPE_BOOLEAN, 1090s # 1, 1090s # G_TYPE_DBUS_METHOD_INVOCATION); 1090s # 1090s # /** 1090s # * ComAcmeCoyote::handle-sleep: 1090s # * @object: A #ComAcmeCoyote. 1090s # * @invocation: A #GDBusMethodInvocation. 1090s # * 1090s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1090s # * 1090s # * 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. 1090s # * 1090s # * 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. 1090s # */ 1090s # g_signal_new ("handle-sleep", 1090s # G_TYPE_FROM_INTERFACE (iface), 1090s # G_SIGNAL_RUN_LAST, 1090s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1090s # g_signal_accumulator_true_handled, 1090s # NULL, 1090s # com_acme_coyote_method_marshal_sleep, 1090s # G_TYPE_BOOLEAN, 1090s # 1, 1090s # G_TYPE_DBUS_METHOD_INVOCATION); 1090s # 1090s # /** 1090s # * ComAcmeCoyote::handle-attack: 1090s # * @object: A #ComAcmeCoyote. 1090s # * @invocation: A #GDBusMethodInvocation. 1090s # * 1090s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1090s # * 1090s # * 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. 1090s # * 1090s # * 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. 1090s # */ 1090s # g_signal_new ("handle-attack", 1090s # G_TYPE_FROM_INTERFACE (iface), 1090s # G_SIGNAL_RUN_LAST, 1090s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1090s # g_signal_accumulator_true_handled, 1090s # NULL, 1090s # com_acme_coyote_method_marshal_attack, 1090s # G_TYPE_BOOLEAN, 1090s # 1, 1090s # G_TYPE_DBUS_METHOD_INVOCATION); 1090s # 1090s # /* GObject signals for received D-Bus signals: */ 1090s # /** 1090s # * ComAcmeCoyote::surprised: 1090s # * @object: A #ComAcmeCoyote. 1090s # * 1090s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1090s # * 1090s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1090s # */ 1090s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1090s # g_signal_new ("surprised", 1090s # G_TYPE_FROM_INTERFACE (iface), 1090s # G_SIGNAL_RUN_LAST, 1090s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1090s # NULL, 1090s # NULL, 1090s # com_acme_coyote_signal_marshal_surprised, 1090s # G_TYPE_NONE, 1090s # 0); 1090s # 1090s # /* GObject properties for D-Bus properties: */ 1090s # /** 1090s # * ComAcmeCoyote:mood: 1090s # * 1090s # * Represents the D-Bus property "Mood". 1090s # * 1090s # * 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. 1090s # */ 1090s # g_object_interface_install_property (iface, 1090s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_get_mood: (skip) 1090s # * @object: A #ComAcmeCoyote. 1090s # * 1090s # * Gets the value of the "Mood" D-Bus property. 1090s # * 1090s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1090s # * 1090s # * 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. 1090s # * 1090s # * 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. 1090s # */ 1090s # const gchar * 1090s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1090s # { 1090s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1090s # 1090s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_dup_mood: (skip) 1090s # * @object: A #ComAcmeCoyote. 1090s # * 1090s # * Gets a copy of the "Mood" D-Bus property. 1090s # * 1090s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1090s # * 1090s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1090s # */ 1090s # gchar * 1090s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1090s # { 1090s # gchar *value; 1090s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1090s # return value; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_set_mood: (skip) 1090s # * @object: A #ComAcmeCoyote. 1090s # * @value: The value to set. 1090s # * 1090s # * Sets the "Mood" D-Bus property to @value. 1090s # * 1090s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1090s # */ 1090s # void 1090s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1090s # { 1090s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_emit_surprised: 1090s # * @object: A #ComAcmeCoyote. 1090s # * 1090s # * Emits the "Surprised" D-Bus signal. 1090s # */ 1090s # void 1090s # com_acme_coyote_emit_surprised ( 1090s # ComAcmeCoyote *object) 1090s # { 1090s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_call_run: 1090s # * @proxy: A #ComAcmeCoyoteProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1090s # * 1090s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1090s # */ 1090s # void 1090s # com_acme_coyote_call_run ( 1090s # ComAcmeCoyote *proxy, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1090s # "Run", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # callback, 1090s # user_data); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_call_run_finish: 1090s # * @proxy: A #ComAcmeCoyoteProxy. 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Finishes an operation started with com_acme_coyote_call_run(). 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # com_acme_coyote_call_run_finish ( 1090s # ComAcmeCoyote *proxy, 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_call_run_sync: 1090s # * @proxy: A #ComAcmeCoyoteProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1090s # * 1090s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # com_acme_coyote_call_run_sync ( 1090s # ComAcmeCoyote *proxy, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1090s # "Run", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_call_sleep: 1090s # * @proxy: A #ComAcmeCoyoteProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1090s # * 1090s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1090s # */ 1090s # void 1090s # com_acme_coyote_call_sleep ( 1090s # ComAcmeCoyote *proxy, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1090s # "Sleep", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # callback, 1090s # user_data); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_call_sleep_finish: 1090s # * @proxy: A #ComAcmeCoyoteProxy. 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # com_acme_coyote_call_sleep_finish ( 1090s # ComAcmeCoyote *proxy, 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_call_sleep_sync: 1090s # * @proxy: A #ComAcmeCoyoteProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1090s # * 1090s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # com_acme_coyote_call_sleep_sync ( 1090s # ComAcmeCoyote *proxy, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1090s # "Sleep", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_call_attack: 1090s # * @proxy: A #ComAcmeCoyoteProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1090s # * 1090s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1090s # */ 1090s # void 1090s # com_acme_coyote_call_attack ( 1090s # ComAcmeCoyote *proxy, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1090s # "Attack", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # callback, 1090s # user_data); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_call_attack_finish: 1090s # * @proxy: A #ComAcmeCoyoteProxy. 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Finishes an operation started with com_acme_coyote_call_attack(). 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # com_acme_coyote_call_attack_finish ( 1090s # ComAcmeCoyote *proxy, 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_call_attack_sync: 1090s # * @proxy: A #ComAcmeCoyoteProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1090s # * 1090s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # com_acme_coyote_call_attack_sync ( 1090s # ComAcmeCoyote *proxy, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1090s # "Attack", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_complete_run: 1090s # * @object: A #ComAcmeCoyote. 1090s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1090s # * 1090s # * 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. 1090s # * 1090s # * This method will free @invocation, you cannot use it afterwards. 1090s # */ 1090s # void 1090s # com_acme_coyote_complete_run ( 1090s # ComAcmeCoyote *object G_GNUC_UNUSED, 1090s # GDBusMethodInvocation *invocation) 1090s # { 1090s # g_dbus_method_invocation_return_value (invocation, 1090s # g_variant_new ("()")); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_complete_sleep: 1090s # * @object: A #ComAcmeCoyote. 1090s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1090s # * 1090s # * 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. 1090s # * 1090s # * This method will free @invocation, you cannot use it afterwards. 1090s # */ 1090s # void 1090s # com_acme_coyote_complete_sleep ( 1090s # ComAcmeCoyote *object G_GNUC_UNUSED, 1090s # GDBusMethodInvocation *invocation) 1090s # { 1090s # g_dbus_method_invocation_return_value (invocation, 1090s # g_variant_new ("()")); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_complete_attack: 1090s # * @object: A #ComAcmeCoyote. 1090s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1090s # * 1090s # * 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. 1090s # * 1090s # * This method will free @invocation, you cannot use it afterwards. 1090s # */ 1090s # void 1090s # com_acme_coyote_complete_attack ( 1090s # ComAcmeCoyote *object G_GNUC_UNUSED, 1090s # GDBusMethodInvocation *invocation) 1090s # { 1090s # g_dbus_method_invocation_return_value (invocation, 1090s # g_variant_new ("()")); 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * ComAcmeCoyoteProxy: 1090s # * 1090s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * ComAcmeCoyoteProxyClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for #ComAcmeCoyoteProxy. 1090s # */ 1090s # 1090s # struct _ComAcmeCoyoteProxyPrivate 1090s # { 1090s # GData *qdata; 1090s # }; 1090s # 1090s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1090s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1090s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1090s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # com_acme_coyote_proxy_finalize (GObject *object) 1090s # { 1090s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1090s # g_datalist_clear (&proxy->priv->qdata); 1090s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_proxy_get_property (GObject *object, 1090s # guint prop_id, 1090s # GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *variant; 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1090s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1090s # if (info->use_gvariant) 1090s # { 1090s # g_value_set_variant (value, variant); 1090s # } 1090s # else 1090s # { 1090s # if (variant != NULL) 1090s # g_dbus_gvariant_to_gvalue (variant, value); 1090s # } 1090s # if (variant != NULL) 1090s # g_variant_unref (variant); 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1090s # GAsyncResult *res, 1090s # gpointer user_data) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info = user_data; 1090s # GError *error; 1090s # GVariant *_ret; 1090s # error = NULL; 1090s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1090s # if (!_ret) 1090s # { 1090s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1090s # info->parent_struct.name, 1090s # error->message, g_quark_to_string (error->domain), error->code); 1090s # g_error_free (error); 1090s # } 1090s # else 1090s # { 1090s # g_variant_unref (_ret); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_proxy_set_property (GObject *object, 1090s # guint prop_id, 1090s # const GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *variant; 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1090s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1090s # "org.freedesktop.DBus.Properties.Set", 1090s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1090s # g_variant_unref (variant); 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1090s # const gchar *sender_name G_GNUC_UNUSED, 1090s # const gchar *signal_name, 1090s # GVariant *parameters) 1090s # { 1090s # _ExtendedGDBusSignalInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # gsize n; 1090s # guint signal_id; 1090s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1090s # if (info == NULL) 1090s # return; 1090s # num_params = g_variant_n_children (parameters); 1090s # paramv = g_new0 (GValue, num_params + 1); 1090s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1090s # g_value_set_object (¶mv[0], proxy); 1090s # g_variant_iter_init (&iter, parameters); 1090s # n = 1; 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1090s # g_signal_emitv (paramv, signal_id, 0, NULL); 1090s # for (n = 0; n < num_params + 1; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1090s # GVariant *changed_properties, 1090s # const gchar *const *invalidated_properties) 1090s # { 1090s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1090s # guint n; 1090s # const gchar *key; 1090s # GVariantIter *iter; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # g_variant_get (changed_properties, "a{sv}", &iter); 1090s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1090s # g_datalist_remove_data (&proxy->priv->qdata, key); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # g_variant_iter_free (iter); 1090s # for (n = 0; invalidated_properties[n] != NULL; n++) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1090s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # } 1090s # 1090s # static const gchar * 1090s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1090s # { 1090s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1090s # GVariant *variant; 1090s # const gchar *value = NULL; 1090s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1090s # if (variant != NULL) 1090s # { 1090s # value = g_variant_get_string (variant, NULL); 1090s # g_variant_unref (variant); 1090s # } 1090s # return value; 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1090s # #else 1090s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1090s # #endif 1090s # 1090s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusProxyClass *proxy_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1090s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1090s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1090s # 1090s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1090s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1090s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1090s # 1090s # com_acme_coyote_override_properties (gobject_class, 1); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1090s # { 1090s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_proxy_new: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1090s # * 1090s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # com_acme_coyote_proxy_new ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_proxy_new_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1090s # * 1090s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # ComAcmeCoyote * 1090s # com_acme_coyote_proxy_new_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return COM_ACME_COYOTE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_proxy_new_sync: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # ComAcmeCoyote * 1090s # com_acme_coyote_proxy_new_sync ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return COM_ACME_COYOTE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /** 1090s # * com_acme_coyote_proxy_new_for_bus: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1090s # * 1090s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # com_acme_coyote_proxy_new_for_bus ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_proxy_new_for_bus_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1090s # * 1090s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # ComAcmeCoyote * 1090s # com_acme_coyote_proxy_new_for_bus_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return COM_ACME_COYOTE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_proxy_new_for_bus_sync: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # ComAcmeCoyote * 1090s # com_acme_coyote_proxy_new_for_bus_sync ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return COM_ACME_COYOTE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * ComAcmeCoyoteSkeleton: 1090s # * 1090s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * ComAcmeCoyoteSkeletonClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for #ComAcmeCoyoteSkeleton. 1090s # */ 1090s # 1090s # struct _ComAcmeCoyoteSkeletonPrivate 1090s # { 1090s # GValue *properties; 1090s # GList *changed_properties; 1090s # GSource *changed_properties_idle_source; 1090s # GMainContext *context; 1090s # GMutex lock; 1090s # }; 1090s # 1090s # static void 1090s # _com_acme_coyote_skeleton_handle_method_call ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name, 1090s # const gchar *method_name, 1090s # GVariant *parameters, 1090s # GDBusMethodInvocation *invocation, 1090s # gpointer user_data) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1090s # _ExtendedGDBusMethodInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # guint num_extra; 1090s # gsize n; 1090s # guint signal_id; 1090s # GValue return_value = G_VALUE_INIT; 1090s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1090s # g_assert (info != NULL); 1090s # num_params = g_variant_n_children (parameters); 1090s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1090s # n = 0; 1090s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1090s # g_value_set_object (¶mv[n++], skeleton); 1090s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1090s # g_value_set_object (¶mv[n++], invocation); 1090s # if (info->pass_fdlist) 1090s # { 1090s # #ifdef G_OS_UNIX 1090s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1090s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1090s # #else 1090s # g_assert_not_reached (); 1090s # #endif 1090s # } 1090s # g_variant_iter_init (&iter, parameters); 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1090s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1090s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1090s # if (!g_value_get_boolean (&return_value)) 1090s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1090s # g_value_unset (&return_value); 1090s # for (n = 0; n < num_params + num_extra; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static GVariant * 1090s # _com_acme_coyote_skeleton_handle_get_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *ret; 1090s # ret = NULL; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # g_value_init (&value, pspec->value_type); 1090s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_value_unset (&value); 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _com_acme_coyote_skeleton_handle_set_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GVariant *variant, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # gboolean ret; 1090s # ret = FALSE; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # if (info->use_gvariant) 1090s # g_value_set_variant (&value, variant); 1090s # else 1090s # g_dbus_gvariant_to_gvalue (variant, &value); 1090s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # g_value_unset (&value); 1090s # ret = TRUE; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1090s # { 1090s # _com_acme_coyote_skeleton_handle_method_call, 1090s # _com_acme_coyote_skeleton_handle_get_property, 1090s # _com_acme_coyote_skeleton_handle_set_property, 1090s # {NULL} 1090s # }; 1090s # 1090s # static GDBusInterfaceInfo * 1090s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return com_acme_coyote_interface_info (); 1090s # } 1090s # 1090s # static GDBusInterfaceVTable * 1090s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1090s # } 1090s # 1090s # static GVariant * 1090s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1090s # 1090s # GVariantBuilder builder; 1090s # guint n; 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1090s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # #else 1090s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # #endif 1090s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1090s # goto out; 1090s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1090s # { 1090s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1090s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1090s # { 1090s # GVariant *value; 1090s # 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); 1090s # if (value != NULL) 1090s # { 1090s # g_variant_take_ref (value); 1090s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1090s # g_variant_unref (value); 1090s # } 1090s # } 1090s # } 1090s # out: 1090s # return g_variant_builder_end (&builder); 1090s # } 1090s # 1090s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1090s # 1090s # static void 1090s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1090s # gboolean emit_changed = FALSE; 1090s # 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # { 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # skeleton->priv->changed_properties_idle_source = NULL; 1090s # emit_changed = TRUE; 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # 1090s # if (emit_changed) 1090s # _com_acme_coyote_emit_changed (skeleton); 1090s # } 1090s # 1090s # static void 1090s # _com_acme_coyote_on_signal_surprised ( 1090s # ComAcmeCoyote *object) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1090s # 1090s # GList *connections, *l; 1090s # GVariant *signal_variant; 1090s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1090s # 1090s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1090s # for (l = connections; l != NULL; l = l->next) 1090s # { 1090s # GDBusConnection *connection = l->data; 1090s # g_dbus_connection_emit_signal (connection, 1090s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1090s # signal_variant, NULL); 1090s # } 1090s # g_variant_unref (signal_variant); 1090s # g_list_free_full (connections, g_object_unref); 1090s # } 1090s # 1090s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1090s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # com_acme_coyote_skeleton_finalize (GObject *object) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1090s # guint n; 1090s # for (n = 0; n < 1; n++) 1090s # g_value_unset (&skeleton->priv->properties[n]); 1090s # g_free (skeleton->priv->properties); 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # g_main_context_unref (skeleton->priv->context); 1090s # g_mutex_clear (&skeleton->priv->lock); 1090s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_skeleton_get_property (GObject *object, 1090s # guint prop_id, 1090s # GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # } 1090s # 1090s # static gboolean 1090s # _com_acme_coyote_emit_changed (gpointer user_data) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1090s # GList *l; 1090s # GVariantBuilder builder; 1090s # GVariantBuilder invalidated_builder; 1090s # guint num_changes; 1090s # 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1090s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1090s # #else 1090s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1090s # #endif 1090s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1090s # { 1090s # ChangedProperty *cp = l->data; 1090s # GVariant *variant; 1090s # const GValue *cur_value; 1090s # 1090s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1090s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1090s # { 1090s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1090s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1090s # g_variant_unref (variant); 1090s # num_changes++; 1090s # } 1090s # } 1090s # if (num_changes > 0) 1090s # { 1090s # GList *connections, *ll; 1090s # GVariant *signal_variant; 1090s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1090s # &builder, &invalidated_builder)); 1090s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1090s # for (ll = connections; ll != NULL; ll = ll->next) 1090s # { 1090s # GDBusConnection *connection = ll->data; 1090s # 1090s # g_dbus_connection_emit_signal (connection, 1090s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1090s # "org.freedesktop.DBus.Properties", 1090s # "PropertiesChanged", 1090s # signal_variant, 1090s # NULL); 1090s # } 1090s # g_variant_unref (signal_variant); 1090s # g_list_free_full (connections, g_object_unref); 1090s # } 1090s # else 1090s # { 1090s # g_variant_builder_clear (&builder); 1090s # g_variant_builder_clear (&invalidated_builder); 1090s # } 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # skeleton->priv->changed_properties = NULL; 1090s # skeleton->priv->changed_properties_idle_source = NULL; 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # return FALSE; 1090s # } 1090s # 1090s # static void 1090s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1090s # { 1090s # ChangedProperty *cp; 1090s # GList *l; 1090s # cp = NULL; 1090s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1090s # { 1090s # ChangedProperty *i_cp = l->data; 1090s # if (i_cp->info == info) 1090s # { 1090s # cp = i_cp; 1090s # break; 1090s # } 1090s # } 1090s # if (cp == NULL) 1090s # { 1090s # cp = g_new0 (ChangedProperty, 1); 1090s # cp->prop_id = prop_id; 1090s # cp->info = info; 1090s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1090s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1090s # g_value_copy (orig_value, &cp->orig_value); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_skeleton_notify (GObject *object, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # if (skeleton->priv->changed_properties != NULL && 1090s # skeleton->priv->changed_properties_idle_source == NULL) 1090s # { 1090s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1090s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1090s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1090s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1090s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1090s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_skeleton_set_property (GObject *object, 1090s # guint prop_id, 1090s # const GValue *value, 1090s # GParamSpec *pspec) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_object_freeze_notify (object); 1090s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1090s # { 1090s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1090s # info->emits_changed_signal) 1090s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1090s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1090s # g_object_notify_by_pspec (object, pspec); 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # g_object_thaw_notify (object); 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1090s # #else 1090s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1090s # #endif 1090s # 1090s # g_mutex_init (&skeleton->priv->lock); 1090s # skeleton->priv->context = g_main_context_ref_thread_default (); 1090s # skeleton->priv->properties = g_new0 (GValue, 1); 1090s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1090s # } 1090s # 1090s # static const gchar * 1090s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1090s # { 1090s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1090s # const gchar *value; 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # return value; 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusInterfaceSkeletonClass *skeleton_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1090s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1090s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1090s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1090s # 1090s # 1090s # com_acme_coyote_override_properties (gobject_class, 1); 1090s # 1090s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1090s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1090s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1090s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1090s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1090s # { 1090s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1090s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1090s # } 1090s # 1090s # /** 1090s # * com_acme_coyote_skeleton_new: 1090s # * 1090s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1090s # * 1090s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1090s # */ 1090s # ComAcmeCoyote * 1090s # com_acme_coyote_skeleton_new (void) 1090s # { 1090s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1090s # } 1090s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1090s # tmpdir: /tmp/tmpwt1eu8qe 1090s # codegen: /usr/bin/gdbus-codegen 1090s # /tmp/tmpwt1eu8qe/tmpjyr9lzsy.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwt1eu8qe/tmpjyr9lzsy.xml', '--output', '-', '--header'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifndef __STDOUT__ 1090s # #define __STDOUT__ 1090s # 1090s # #include 1090s # 1090s # G_BEGIN_DECLS 1090s # 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # /* Declarations for FDPassing */ 1090s # 1090s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1090s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1090s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1090s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1090s # 1090s # struct _FDPassing; 1090s # typedef struct _FDPassing FDPassing; 1090s # typedef struct _FDPassingIface FDPassingIface; 1090s # 1090s # struct _FDPassingIface 1090s # { 1090s # GTypeInterface parent_iface; 1090s # 1090s # gboolean (*handle_hello_fd) ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list, 1090s # const gchar *arg_greeting); 1090s # 1090s # gboolean (*handle_no_annotation) ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GVariant *arg_greeting, 1090s # const gchar *arg_greeting_locale); 1090s # 1090s # gboolean (*handle_no_annotation_nested) ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GVariant *arg_files); 1090s # 1090s # }; 1090s # 1090s # GType fdpassing_get_type (void) G_GNUC_CONST; 1090s # 1090s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1090s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1090s # 1090s # 1090s # /* D-Bus method call completion functions: */ 1090s # void fdpassing_complete_hello_fd ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list, 1090s # const gchar *response); 1090s # 1090s # void fdpassing_complete_no_annotation ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GVariant *response, 1090s # const gchar *response_locale); 1090s # 1090s # void fdpassing_complete_no_annotation_nested ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation); 1090s # 1090s # 1090s # 1090s # /* D-Bus method calls: */ 1090s # void fdpassing_call_hello_fd ( 1090s # FDPassing *proxy, 1090s # const gchar *arg_greeting, 1090s # GUnixFDList *fd_list, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # 1090s # gboolean fdpassing_call_hello_fd_finish ( 1090s # FDPassing *proxy, 1090s # gchar **out_response, 1090s # GUnixFDList **out_fd_list, 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # 1090s # gboolean fdpassing_call_hello_fd_sync ( 1090s # FDPassing *proxy, 1090s # const gchar *arg_greeting, 1090s # GUnixFDList *fd_list, 1090s # gchar **out_response, 1090s # GUnixFDList **out_fd_list, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # void fdpassing_call_no_annotation ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_greeting, 1090s # const gchar *arg_greeting_locale, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # 1090s # gboolean fdpassing_call_no_annotation_finish ( 1090s # FDPassing *proxy, 1090s # GVariant **out_response, 1090s # gchar **out_response_locale, 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # 1090s # gboolean fdpassing_call_no_annotation_sync ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_greeting, 1090s # const gchar *arg_greeting_locale, 1090s # GVariant **out_response, 1090s # gchar **out_response_locale, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # void fdpassing_call_no_annotation_nested ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_files, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # 1090s # gboolean fdpassing_call_no_annotation_nested_finish ( 1090s # FDPassing *proxy, 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # 1090s # gboolean fdpassing_call_no_annotation_nested_sync ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_files, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # 1090s # 1090s # /* ---- */ 1090s # 1090s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1090s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1090s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1090s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1090s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1090s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1090s # 1090s # typedef struct _FDPassingProxy FDPassingProxy; 1090s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1090s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1090s # 1090s # struct _FDPassingProxy 1090s # { 1090s # /*< private >*/ 1090s # GDBusProxy parent_instance; 1090s # FDPassingProxyPrivate *priv; 1090s # }; 1090s # 1090s # struct _FDPassingProxyClass 1090s # { 1090s # GDBusProxyClass parent_class; 1090s # }; 1090s # 1090s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1090s # 1090s # #if GLIB_CHECK_VERSION(2, 44, 0) 1090s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1090s # #endif 1090s # 1090s # void fdpassing_proxy_new ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # FDPassing *fdpassing_proxy_new_finish ( 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # FDPassing *fdpassing_proxy_new_sync ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # void fdpassing_proxy_new_for_bus ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # 1090s # /* ---- */ 1090s # 1090s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1090s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1090s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1090s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1090s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1090s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1090s # 1090s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1090s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1090s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1090s # 1090s # struct _FDPassingSkeleton 1090s # { 1090s # /*< private >*/ 1090s # GDBusInterfaceSkeleton parent_instance; 1090s # FDPassingSkeletonPrivate *priv; 1090s # }; 1090s # 1090s # struct _FDPassingSkeletonClass 1090s # { 1090s # GDBusInterfaceSkeletonClass parent_class; 1090s # }; 1090s # 1090s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1090s # 1090s # #if GLIB_CHECK_VERSION(2, 44, 0) 1090s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1090s # #endif 1090s # 1090s # FDPassing *fdpassing_skeleton_new (void); 1090s # 1090s # 1090s # G_END_DECLS 1090s # 1090s # #endif /* __STDOUT__ */ 1090s # /tmp/tmpwt1eu8qe/tmpjuz4c5ou.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwt1eu8qe/tmpjuz4c5ou.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifndef __STDOUT__ 1090s # #define __STDOUT__ 1090s # 1090s # #include 1090s # 1090s # G_BEGIN_DECLS 1090s # 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # /* Declarations for FDPassing */ 1090s # 1090s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1090s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1090s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1090s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1090s # 1090s # struct _FDPassing; 1090s # typedef struct _FDPassing FDPassing; 1090s # typedef struct _FDPassingIface FDPassingIface; 1090s # 1090s # struct _FDPassingIface 1090s # { 1090s # GTypeInterface parent_iface; 1090s # 1090s # gboolean (*handle_hello_fd) ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list, 1090s # const gchar *arg_greeting); 1090s # 1090s # gboolean (*handle_no_annotation) ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GVariant *arg_greeting, 1090s # const gchar *arg_greeting_locale); 1090s # 1090s # gboolean (*handle_no_annotation_nested) ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GVariant *arg_files); 1090s # 1090s # }; 1090s # 1090s # GType fdpassing_get_type (void) G_GNUC_CONST; 1090s # 1090s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1090s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1090s # 1090s # 1090s # /* D-Bus method call completion functions: */ 1090s # void fdpassing_complete_hello_fd ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list, 1090s # const gchar *response); 1090s # 1090s # void fdpassing_complete_no_annotation ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GVariant *response, 1090s # const gchar *response_locale); 1090s # 1090s # void fdpassing_complete_no_annotation_nested ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation); 1090s # 1090s # 1090s # 1090s # /* D-Bus method calls: */ 1090s # void fdpassing_call_hello_fd ( 1090s # FDPassing *proxy, 1090s # const gchar *arg_greeting, 1090s # GUnixFDList *fd_list, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # 1090s # gboolean fdpassing_call_hello_fd_finish ( 1090s # FDPassing *proxy, 1090s # gchar **out_response, 1090s # GUnixFDList **out_fd_list, 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # 1090s # gboolean fdpassing_call_hello_fd_sync ( 1090s # FDPassing *proxy, 1090s # const gchar *arg_greeting, 1090s # GUnixFDList *fd_list, 1090s # gchar **out_response, 1090s # GUnixFDList **out_fd_list, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # void fdpassing_call_no_annotation ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_greeting, 1090s # const gchar *arg_greeting_locale, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # 1090s # gboolean fdpassing_call_no_annotation_finish ( 1090s # FDPassing *proxy, 1090s # GVariant **out_response, 1090s # gchar **out_response_locale, 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # 1090s # gboolean fdpassing_call_no_annotation_sync ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_greeting, 1090s # const gchar *arg_greeting_locale, 1090s # GVariant **out_response, 1090s # gchar **out_response_locale, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # void fdpassing_call_no_annotation_nested ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_files, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # 1090s # gboolean fdpassing_call_no_annotation_nested_finish ( 1090s # FDPassing *proxy, 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # 1090s # gboolean fdpassing_call_no_annotation_nested_sync ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_files, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # 1090s # 1090s # /* ---- */ 1090s # 1090s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1090s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1090s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1090s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1090s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1090s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1090s # 1090s # typedef struct _FDPassingProxy FDPassingProxy; 1090s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1090s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1090s # 1090s # struct _FDPassingProxy 1090s # { 1090s # /*< private >*/ 1090s # GDBusProxy parent_instance; 1090s # FDPassingProxyPrivate *priv; 1090s # }; 1090s # 1090s # struct _FDPassingProxyClass 1090s # { 1090s # GDBusProxyClass parent_class; 1090s # }; 1090s # 1090s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1090s # 1090s # #if GLIB_CHECK_VERSION(2, 44, 0) 1090s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1090s # #endif 1090s # 1090s # void fdpassing_proxy_new ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # FDPassing *fdpassing_proxy_new_finish ( 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # FDPassing *fdpassing_proxy_new_sync ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # void fdpassing_proxy_new_for_bus ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # 1090s # /* ---- */ 1090s # 1090s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1090s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1090s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1090s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1090s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1090s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1090s # 1090s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1090s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1090s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1090s # 1090s # struct _FDPassingSkeleton 1090s # { 1090s # /*< private >*/ 1090s # GDBusInterfaceSkeleton parent_instance; 1090s # FDPassingSkeletonPrivate *priv; 1090s # }; 1090s # 1090s # struct _FDPassingSkeletonClass 1090s # { 1090s # GDBusInterfaceSkeletonClass parent_class; 1090s # }; 1090s # 1090s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1090s # 1090s # #if GLIB_CHECK_VERSION(2, 44, 0) 1090s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1090s # #endif 1090s # 1090s # FDPassing *fdpassing_skeleton_new (void); 1090s # 1090s # 1090s # G_END_DECLS 1090s # 1090s # #endif /* __STDOUT__ */ 1090s # /tmp/tmpwt1eu8qe/tmpmk5503bs.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwt1eu8qe/tmpmk5503bs.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifndef __STDOUT__ 1090s # #define __STDOUT__ 1090s # 1090s # #include 1090s # 1090s # G_BEGIN_DECLS 1090s # 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # /* Declarations for FDPassing */ 1090s # 1090s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1090s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1090s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1090s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1090s # 1090s # struct _FDPassing; 1090s # typedef struct _FDPassing FDPassing; 1090s # typedef struct _FDPassingIface FDPassingIface; 1090s # 1090s # struct _FDPassingIface 1090s # { 1090s # GTypeInterface parent_iface; 1090s # 1090s # gboolean (*handle_hello_fd) ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list, 1090s # const gchar *arg_greeting); 1090s # 1090s # gboolean (*handle_no_annotation) ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list, 1090s # GVariant *arg_greeting, 1090s # const gchar *arg_greeting_locale); 1090s # 1090s # gboolean (*handle_no_annotation_nested) ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list, 1090s # GVariant *arg_files); 1090s # 1090s # }; 1090s # 1090s # GType fdpassing_get_type (void) G_GNUC_CONST; 1090s # 1090s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1090s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1090s # 1090s # 1090s # /* D-Bus method call completion functions: */ 1090s # void fdpassing_complete_hello_fd ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list, 1090s # const gchar *response); 1090s # 1090s # void fdpassing_complete_no_annotation ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list, 1090s # GVariant *response, 1090s # const gchar *response_locale); 1090s # 1090s # void fdpassing_complete_no_annotation_nested ( 1090s # FDPassing *object, 1090s # GDBusMethodInvocation *invocation, 1090s # GUnixFDList *fd_list); 1090s # 1090s # 1090s # 1090s # /* D-Bus method calls: */ 1090s # void fdpassing_call_hello_fd ( 1090s # FDPassing *proxy, 1090s # const gchar *arg_greeting, 1090s # GDBusCallFlags call_flags, 1090s # gint timeout_msec, 1090s # GUnixFDList *fd_list, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # 1090s # gboolean fdpassing_call_hello_fd_finish ( 1090s # FDPassing *proxy, 1090s # gchar **out_response, 1090s # GUnixFDList **out_fd_list, 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # 1090s # gboolean fdpassing_call_hello_fd_sync ( 1090s # FDPassing *proxy, 1090s # const gchar *arg_greeting, 1090s # GDBusCallFlags call_flags, 1090s # gint timeout_msec, 1090s # GUnixFDList *fd_list, 1090s # gchar **out_response, 1090s # GUnixFDList **out_fd_list, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # void fdpassing_call_no_annotation ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_greeting, 1090s # const gchar *arg_greeting_locale, 1090s # GDBusCallFlags call_flags, 1090s # gint timeout_msec, 1090s # GUnixFDList *fd_list, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # 1090s # gboolean fdpassing_call_no_annotation_finish ( 1090s # FDPassing *proxy, 1090s # GVariant **out_response, 1090s # gchar **out_response_locale, 1090s # GUnixFDList **out_fd_list, 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # 1090s # gboolean fdpassing_call_no_annotation_sync ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_greeting, 1090s # const gchar *arg_greeting_locale, 1090s # GDBusCallFlags call_flags, 1090s # gint timeout_msec, 1090s # GUnixFDList *fd_list, 1090s # GVariant **out_response, 1090s # gchar **out_response_locale, 1090s # GUnixFDList **out_fd_list, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # void fdpassing_call_no_annotation_nested ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_files, 1090s # GDBusCallFlags call_flags, 1090s # gint timeout_msec, 1090s # GUnixFDList *fd_list, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # 1090s # gboolean fdpassing_call_no_annotation_nested_finish ( 1090s # FDPassing *proxy, 1090s # GUnixFDList **out_fd_list, 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # 1090s # gboolean fdpassing_call_no_annotation_nested_sync ( 1090s # FDPassing *proxy, 1090s # GVariant *arg_files, 1090s # GDBusCallFlags call_flags, 1090s # gint timeout_msec, 1090s # GUnixFDList *fd_list, 1090s # GUnixFDList **out_fd_list, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # 1090s # 1090s # /* ---- */ 1090s # 1090s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1090s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1090s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1090s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1090s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1090s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1090s # 1090s # typedef struct _FDPassingProxy FDPassingProxy; 1090s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1090s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1090s # 1090s # struct _FDPassingProxy 1090s # { 1090s # /*< private >*/ 1090s # GDBusProxy parent_instance; 1090s # FDPassingProxyPrivate *priv; 1090s # }; 1090s # 1090s # struct _FDPassingProxyClass 1090s # { 1090s # GDBusProxyClass parent_class; 1090s # }; 1090s # 1090s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1090s # 1090s # #if GLIB_CHECK_VERSION(2, 44, 0) 1090s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1090s # #endif 1090s # 1090s # void fdpassing_proxy_new ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # FDPassing *fdpassing_proxy_new_finish ( 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # FDPassing *fdpassing_proxy_new_sync ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # void fdpassing_proxy_new_for_bus ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data); 1090s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1090s # GAsyncResult *res, 1090s # GError **error); 1090s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error); 1090s # 1090s # 1090s # /* ---- */ 1090s # 1090s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1090s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1090s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1090s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1090s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1090s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1090s # 1090s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1090s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1090s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1090s # 1090s # struct _FDPassingSkeleton 1090s # { 1090s # /*< private >*/ 1090s # GDBusInterfaceSkeleton parent_instance; 1090s # FDPassingSkeletonPrivate *priv; 1090s # }; 1090s # 1090s # struct _FDPassingSkeletonClass 1090s # { 1090s # GDBusInterfaceSkeletonClass parent_class; 1090s # }; 1090s # 1090s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1090s # 1090s # #if GLIB_CHECK_VERSION(2, 44, 0) 1090s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1090s # #endif 1090s # 1090s # FDPassing *fdpassing_skeleton_new (void); 1090s # 1090s # 1090s # G_END_DECLS 1090s # 1090s # #endif /* __STDOUT__ */ 1090s 1..39 1090s ok - glib/codegen.py.test 1090s # Running test: glib/closure-refcount.test 1090s TAP version 14 1090s # random seed: R02S2f1f4d2618d0fbe6d0d2ebf618684a45 1090s 1..1 1090s # Start of closure tests 1090s # Init 0xc7a679cee1e0 1090s # Yielding from main thread 1090s # Yielding from thread1 1090s # Yielding from main thread 1090s # Yielding from main thread 1090s # Yielding from main thread 1090s # Yielding from thread1 1090s # Yielding from main thread 1090s # Yielding from thread2 1090s # Yielding from main thread 1090s # Yielding from main thread 1090s # Yielding from main thread 1090s # Yielding from main thread 1090s # Stopping 1090s # Stopped 1090s ok 1 /closure/refcount 1090s # End of closure tests 1090s ok - glib/closure-refcount.test 1090s # Running test: glib/gobject-private.test 1090s TAP version 14 1090s # random seed: R02Sf0aa3c2abe2f70ff985fe9ee251fd105 1090s 1..3 1090s # Start of private tests 1090s ok 1 /private/instance 1090s ok 2 /private/derived-instance 1090s ok 3 /private/mixed-derived-instance 1090s # End of private tests 1090s ok - glib/gobject-private.test 1090s # Running test: glib/null-settings-backend.test 1090s TAP version 14 1090s # random seed: R02S530aad1df094ce0b0c533d06ff49bdfc 1090s 1..1 1090s # Start of null-settings-backend tests 1090s ok 1 /null-settings-backend/extension-point-registered 1090s # End of null-settings-backend tests 1090s ok - glib/null-settings-backend.test 1090s # Running test: glib/giomodule.test 1090s TAP version 14 1090s # random seed: R02Sec8f001f9bd0cb268ad193d181315a64 1090s 1..3 1090s # Start of giomodule tests 1090s ok 1 /giomodule/extension-point 1090s ok 2 /giomodule/module-scan-all 1090s ok 3 /giomodule/module-scan-all-with-scope 1090s # End of giomodule tests 1090s ok - glib/giomodule.test 1090s # Running test: glib/converter.test 1090s TAP version 14 1090s # random seed: R02S6566a2f71307ef8fef2342c831bfdb74 1090s 1..2 1090s # Start of converter tests 1090s ok 1 /converter/bytes 1090s ok 2 /converter/extra-bytes-at-end 1090s # End of converter tests 1090s ok - glib/converter.test 1090s # Running test: glib/gdbus-proxy-threads.test 1090s TAP version 14 1090s # random seed: R02Sf95080d2b37a3b95dce7b28d40ec2359 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_KZNI22/gdbus/proxy/vs-threads/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_KZNI22/gdbus/proxy/vs-threads/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_KZNI22/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_KZNI22/gdbus/proxy/vs-threads/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_KZNI22/gdbus/proxy/vs-threads/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_KZNI22/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_KZNI22/gdbus/proxy/vs-threads/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_KZNI22/gdbus/proxy/vs-threads/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_KZNI22/gdbus/proxy/vs-threads/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_KZNI22/gdbus/proxy/vs-threads/.dirs/runtime 1091s ok 1 /gdbus/proxy/vs-threads 1091s # slow test /gdbus/proxy/vs-threads executed in 0.67 secs 1091s # End of proxy tests 1091s # End of gdbus tests 1091s cleaning up pid 4023 1091s ok - glib/gdbus-proxy-threads.test 1091s # Running test: glib/pathbuf.test 1091s TAP version 14 1091s # random seed: R02Sea8ea45816dac62759e8950d36857a76 1091s 1..3 1091s # Start of pathbuf tests 1091s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/home 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/cache 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/system-config2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/config 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/system-data2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/data 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/state 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_OBPB22/pathbuf/init/.dirs/runtime 1091s # Initializing empty path buf 1091s # Initializing with empty path 1091s # Initializing with full path 1091s # Initializing with no path 1091s # Allocating GPathBuf on the heap 1091s ok 1 /pathbuf/init 1091s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/home 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/cache 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/system-config2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/config 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/system-data2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/data 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/state 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_OBPB22/pathbuf/push-pop/.dirs/runtime 1091s # Pushing relative path component 1091s # Pushing absolute path component 1091s # Popping a path component 1091s # Can't pop the last element of a path buffer 1091s ok 2 /pathbuf/push-pop 1091s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/home 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/cache 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/system-config2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/config 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/system-data2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/data 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/state 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_OBPB22/pathbuf/filename-extension/.dirs/runtime 1091s ok 3 /pathbuf/filename-extension 1091s # End of pathbuf tests 1091s ok - glib/pathbuf.test 1091s # Running test: glib/repository-search-paths.test 1091s TAP version 14 1091s # random seed: R02Sec162e68552290b261a96fa1967dbc44 1091s 1..4 1091s # Start of repository tests 1091s # Start of search-paths tests 1091s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/home 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/cache 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/system-config2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/config 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/system-data2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/data 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/state 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_22GB22/repository/search-paths/default/.dirs/runtime 1091s ok 1 /repository/search-paths/default 1091s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/home 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/cache 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/system-config2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/config 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/system-data2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/data 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/state 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_22GB22/repository/search-paths/prepend/.dirs/runtime 1091s ok 2 /repository/search-paths/prepend 1091s # End of search-paths tests 1091s # Start of library-paths tests 1091s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/home 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/cache 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/system-config2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/config 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/system-data2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/data 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/state 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_22GB22/repository/library-paths/default/.dirs/runtime 1091s ok 3 /repository/library-paths/default 1091s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/home 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/cache 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/system-config2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/config 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/system-data2 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/data 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/state 1091s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_22GB22/repository/library-paths/prepend/.dirs/runtime 1091s ok 4 /repository/library-paths/prepend 1091s # End of library-paths tests 1091s # End of repository tests 1091s ok - glib/repository-search-paths.test 1091s # Running test: glib/spawn-singlethread.test 1091s TAP version 14 1091s # random seed: R02S74178092fc24d40225cdff7af00bee3f 1091s 1..9 1091s # Start of gthread tests 1091s ok 1 /gthread/spawn-single-sync 1091s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1091s ok 2 /gthread/spawn-stderr-socket 1091s ok 3 /gthread/spawn-single-async 1091s # thread 1 1091s # thread 1 1091s ok 4 /gthread/spawn-single-async-with-fds 1091s ok 5 /gthread/spawn-async-with-invalid-fds 1091s ok 6 /gthread/spawn-script 1091s ok 7 /gthread/spawn-posix-spawn 1091s # Start of spawn tests 1091s ok 8 /gthread/spawn/nonexistent 1091s # FD map: 1091s # • 5 → 15 1091s # • 6 → 16 1091s # • 7 → 17 1091s # • 8 → 18 1091s # • 9 → 19 1091s # • 10 → 20 1091s # • 11 → 21 1091s # • 12 → 22 1091s # • 13 → 23 1091s # • 3 → 13 1091s ok 9 /gthread/spawn/fd-assignment-clash 1091s # End of spawn tests 1091s # End of gthread tests 1091s ok - glib/spawn-singlethread.test 1091s # Running test: glib/thread-pool-slow.test 1091s TAP version 14 1091s # random seed: R02Sb4494f5771ed1f87e97b0d14f17de3aa 1091s 1..7 1091s # Start of threadpool tests 1091s ok 1 /threadpool/functions 1091s ok 2 /threadpool/stop-unused 1091s # slow test /threadpool/stop-unused executed in 0.51 secs 1091s ok 3 /threadpool/pools 1091s # [unsorted] ===> pushed new thread with id:3, number of threads:1, unprocessed:1 1091s # [unsorted] ===> pushed new thread with id:90, number of threads:2, unprocessed:2 1091s # [unsorted] ===> pushed new thread with id:43, number of threads:3, unprocessed:3 1091s # [unsorted] ===> pushed new thread with id:73, number of threads:4, unprocessed:4 1091s # [unsorted] ===> pushed new thread with id:87, number of threads:5, unprocessed:5 1091s # [unsorted] ===> pushed new thread with id:42, number of threads:6, unprocessed:6 1091s # [unsorted] ===> pushed new thread with id:95, number of threads:7, unprocessed:7 1091s # [unsorted] ===> pushed new thread with id:37, number of threads:8, unprocessed:8 1091s # [unsorted] ===> pushed new thread with id:56, number of threads:9, unprocessed:9 1091s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:2 1091s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:3 1091s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:4 1091s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:5 1091s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:6 1091s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:7 1091s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:7 1091s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:8 1091s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:8 1091s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:9 1091s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:10 1091s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:11 1091s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:12 1091s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:13 1091s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:14 1091s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:15 1091s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:16 1091s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:17 1091s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:18 1091s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:19 1091s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:20 1091s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:21 1091s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:22 1091s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:23 1091s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:24 1091s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:25 1091s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:26 1091s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:27 1091s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:28 1091s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:29 1091s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:30 1091s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:31 1091s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:32 1091s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:33 1091s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:34 1091s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:35 1091s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:36 1091s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:37 1091s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:38 1091s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:39 1091s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:40 1091s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:41 1091s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:42 1091s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:43 1091s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:44 1091s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:45 1091s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:46 1091s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:47 1091s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:48 1091s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:49 1091s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:50 1091s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:51 1091s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:52 1091s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:53 1091s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:54 1091s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:55 1091s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:56 1091s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:57 1091s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:58 1091s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:59 1091s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:60 1091s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:61 1091s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:62 1091s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:63 1091s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:64 1091s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:65 1091s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:66 1091s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:67 1091s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:68 1091s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:69 1091s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:70 1091s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:71 1091s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:72 1091s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:73 1091s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:74 1091s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:75 1091s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:76 1091s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:77 1091s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:78 1091s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:79 1091s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:80 1091s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:81 1091s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:82 1091s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:83 1091s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:84 1091s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:85 1091s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:86 1091s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:87 1091s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:88 1091s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:89 1091s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:90 1091s ok 4 /threadpool/no-sort 1091s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:1 1091s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:2 1091s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:3 1091s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:4 1091s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:5 1091s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:6 1091s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:7 1091s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:8 1091s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:9 1091s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:10 1091s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:11 1091s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:12 1091s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:13 1091s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:14 1091s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:15 1091s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:16 1091s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:17 1091s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:18 1091s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:19 1091s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:20 1091s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:21 1091s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:22 1091s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:23 1091s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:24 1091s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:25 1091s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:26 1091s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:27 1091s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:28 1091s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:29 1091s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:30 1091s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:31 1091s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:32 1091s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:33 1091s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:34 1091s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:35 1091s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:36 1091s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:37 1091s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:38 1091s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:39 1091s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:40 1091s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:41 1091s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:42 1091s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:43 1091s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:44 1091s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:45 1091s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:46 1091s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:47 1091s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:48 1091s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:49 1091s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:50 1091s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:51 1091s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:52 1091s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:53 1091s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:54 1091s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:55 1091s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:56 1091s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:57 1091s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:58 1091s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:59 1091s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:60 1091s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:61 1091s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:62 1091s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:63 1091s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:64 1091s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:65 1091s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:66 1091s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:67 1091s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:68 1091s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:69 1091s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:70 1091s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:71 1091s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:72 1091s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:73 1091s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:74 1091s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:75 1091s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:76 1091s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:77 1091s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:78 1091s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:79 1091s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:80 1091s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:81 1091s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:82 1091s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:83 1091s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:84 1091s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:85 1091s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:86 1091s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:87 1091s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:88 1091s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:89 1091s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:90 1091s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:91 1091s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:92 1091s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:93 1091s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:94 1091s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:95 1091s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:96 1091s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:97 1091s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:98 1091s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:99 1091s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:100 1091s # Starting thread pool processing 1091s ok 5 /threadpool/sort 1092s ok 6 /threadpool/stop-unused-multiple 1092s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1092s # Pool idle thread count: 0, unprocessed jobs: 40 1092s # Pool idle thread count: 0, unprocessed jobs: 0 1092s # Pool idle thread count: 0, unprocessed jobs: 0 1093s # Pool idle thread count: 10, unprocessed jobs: 0 1093s # Pool idle thread count: 10, unprocessed jobs: 0 1093s # Pool idle thread count: 10, unprocessed jobs: 0 1093s # Pool idle thread count: 10, unprocessed jobs: 0 1094s # Pool idle thread count: 10, unprocessed jobs: 0 1094s # Pool idle thread count: 10, unprocessed jobs: 0 1094s # Pool idle thread count: 10, unprocessed jobs: 0 1094s # Pool idle thread count: 10, unprocessed jobs: 0 1094s # Executing: glib/thread-pool-slow.test 1095s # Pool idle thread count: 10, unprocessed jobs: 0 1095s # Pool idle thread count: 10, unprocessed jobs: 0 1095s # Pool idle thread count: 10, unprocessed jobs: 0 1095s # Pool idle thread count: 10, unprocessed jobs: 0 1096s # Pool idle thread count: 10, unprocessed jobs: 0 1096s # Pool idle thread count: 10, unprocessed jobs: 0 1096s # Pool idle thread count: 10, unprocessed jobs: 0 1096s # Pool idle thread count: 10, unprocessed jobs: 0 1097s # Pool idle thread count: 10, unprocessed jobs: 0 1097s # Pool idle thread count: 10, unprocessed jobs: 0 1097s # Pool idle thread count: 10, unprocessed jobs: 0 1097s # Pool idle thread count: 10, unprocessed jobs: 0 1098s # Pool idle thread count: 10, unprocessed jobs: 0 1098s # Pool idle thread count: 10, unprocessed jobs: 0 1098s # Pool idle thread count: 10, unprocessed jobs: 0 1098s # Pool idle thread count: 10, unprocessed jobs: 0 1099s # Pool idle thread count: 10, unprocessed jobs: 0 1099s # Pool idle thread count: 10, unprocessed jobs: 0 1099s # Pool idle thread count: 10, unprocessed jobs: 0 1099s # Pool idle thread count: 10, unprocessed jobs: 0 1099s # Executing: glib/thread-pool-slow.test 1100s # Pool idle thread count: 10, unprocessed jobs: 0 1100s # Pool idle thread count: 10, unprocessed jobs: 0 1100s # Pool idle thread count: 10, unprocessed jobs: 0 1100s # Pool idle thread count: 10, unprocessed jobs: 0 1101s # Pool idle thread count: 10, unprocessed jobs: 2 1101s # Pool idle thread count: 10, unprocessed jobs: 2 1101s # Pool idle thread count: 8, unprocessed jobs: 0 1101s # Pool idle thread count: 8, unprocessed jobs: 0 1101s # Pool idle thread count: 10, unprocessed jobs: 0 1101s # Pool idle thread count: 10, unprocessed jobs: 0 1102s # Pool idle thread count: 10, unprocessed jobs: 0 1102s # Pool idle thread count: 10, unprocessed jobs: 0 1102s # Pool idle thread count: 10, unprocessed jobs: 0 1102s # Pool idle thread count: 10, unprocessed jobs: 0 1103s # Pool idle thread count: 2, unprocessed jobs: 0 1103s # Pool idle thread count: 2, unprocessed jobs: 0 1103s # Pool idle thread count: 2, unprocessed jobs: 0 1103s # Pool idle thread count: 2, unprocessed jobs: 0 1104s # Pool idle thread count: 2, unprocessed jobs: 0 1104s # Pool idle thread count: 2, unprocessed jobs: 0 1104s # Pool idle thread count: 2, unprocessed jobs: 0 1104s # Pool idle thread count: 2, unprocessed jobs: 0 1104s # Executing: glib/thread-pool-slow.test 1105s # Pool idle thread count: 2, unprocessed jobs: 0 1105s # Pool idle thread count: 2, unprocessed jobs: 0 1105s # Pool idle thread count: 2, unprocessed jobs: 0 1105s # Pool idle thread count: 2, unprocessed jobs: 0 1106s # Pool idle thread count: 2, unprocessed jobs: 0 1106s # Pool idle thread count: 2, unprocessed jobs: 0 1106s # Pool idle thread count: 2, unprocessed jobs: 0 1106s # Pool idle thread count: 2, unprocessed jobs: 0 1107s # Pool idle thread count: 2, unprocessed jobs: 0 1107s # Pool idle thread count: 2, unprocessed jobs: 0 1107s # Pool idle thread count: 2, unprocessed jobs: 0 1107s # Pool idle thread count: 2, unprocessed jobs: 0 1108s # Pool idle thread count: 2, unprocessed jobs: 0 1108s # Pool idle thread count: 2, unprocessed jobs: 0 1108s # Pool idle thread count: 2, unprocessed jobs: 0 1108s # Pool idle thread count: 2, unprocessed jobs: 0 1109s # Pool idle thread count: 2, unprocessed jobs: 0 1109s # Pool idle thread count: 2, unprocessed jobs: 0 1109s # Pool idle thread count: 2, unprocessed jobs: 0 1109s # Pool idle thread count: 2, unprocessed jobs: 0 1109s # Executing: glib/thread-pool-slow.test 1110s # Pool idle thread count: 2, unprocessed jobs: 0 1110s # Pool idle thread count: 2, unprocessed jobs: 0 1110s # Pool idle thread count: 2, unprocessed jobs: 0 1110s # Pool idle thread count: 2, unprocessed jobs: 0 1111s # Pool idle thread count: 2, unprocessed jobs: 0 1111s # Pool idle thread count: 2, unprocessed jobs: 0 1111s ok 7 /threadpool/idle-time 1111s # slow test /threadpool/idle-time executed in 19.53 secs 1111s # End of threadpool tests 1111s ok - glib/thread-pool-slow.test 1111s # Running test: glib/value.test 1111s TAP version 14 1111s # random seed: R02Sdc81ebd3a1dddbb179824313dd85c013 1111s 1..9 1111s # Start of value tests 1111s ok 1 /value/basic 1111s ok 2 /value/collection 1111s ok 3 /value/copying 1111s ok 4 /value/enum-transformation 1111s ok 5 /value/gtype 1111s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1111s ok 6 /value/string 1111s # Next: GObject object in GValue of GObject to GValue of GObject 1111s # Next: GObject object in GValue of GObject to GValue of TestInterface 1111s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1111s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1111s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1111s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1111s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1111s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1111s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1111s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1111s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1111s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1111s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1111s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1111s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1111s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1111s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1111s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1111s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1111s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1111s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1111s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1111s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1111s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1111s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1111s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1111s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1111s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1111s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1111s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1111s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1111s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1111s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1111s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1111s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1111s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1111s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1111s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1111s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1111s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1111s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1111s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1111s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1111s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1111s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1111s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1111s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1111s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1111s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1111s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1111s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1111s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1111s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1111s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1111s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1111s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1111s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1111s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1111s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1111s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1111s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1111s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1111s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1111s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1111s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1111s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1111s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1111s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1111s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1111s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1111s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1111s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1111s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1111s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1111s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1111s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1111s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1111s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1111s ok 7 /value/transform-object 1111s # Start of array tests 1111s ok 8 /value/array/basic 1111s ok 9 /value/array/sort-with-data 1111s # End of array tests 1111s # End of value tests 1111s ok - glib/value.test 1111s # Running test: glib/types.test 1111s TAP version 14 1111s # random seed: R02Sf2a2529998b20241736b3d639f5b067f 1111s 1..1 1111s # Start of types tests 1111s ok 1 /types/basic_types 1111s # End of types tests 1111s ok - glib/types.test 1111s # Running test: glib/timer.test 1111s TAP version 14 1111s # random seed: R02S45ac07507a44f4f5611a4391cbc5dd92 1111s 1..10 1111s # Start of timer tests 1111s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1111s ok 2 /timer/stop 1111s ok 3 /timer/continue 1111s ok 4 /timer/reset 1111s ok 5 /timer/is_active 1111s # End of timer tests 1111s # Start of timeval tests 1111s ok 6 /timeval/add 1111s ok 7 /timeval/from-iso8601 1111s ok 8 /timeval/to-iso8601 1111s # Start of to-iso8601 tests 1111s ok 9 /timeval/to-iso8601/overflow 1111s # End of to-iso8601 tests 1111s # End of timeval tests 1111s # Start of usleep tests 1111s ok 10 /usleep/with-zero-wait 1111s # End of usleep tests 1111s ok - glib/timer.test 1111s # Running test: glib/option-context.test 1111s TAP version 14 1111s # random seed: R02Sf6d2cf43f8208e33b49008c5a7224686 1111s 1..57 1111s # Start of option tests 1111s ok 1 /option/basic 1111s ok 2 /option/translate 1111s ok 3 /option/strict-posix 1111s # Start of help tests 1111s ok 4 /option/help/options 1111s ok 5 /option/help/no-options 1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1111s ok 6 /option/help/no-help-options 1111s # End of help tests 1111s # Start of group tests 1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1111s ok 7 /option/group/captions 1111s ok 8 /option/group/main 1111s ok 9 /option/group/error-hook 1111s ok 10 /option/group/parse 1111s # Start of captions tests 1111s # Start of subprocess tests 1111s # End of subprocess tests 1111s # End of captions tests 1111s # End of group tests 1111s # Start of restoration tests 1111s ok 11 /option/restoration/int 1111s ok 12 /option/restoration/string 1111s ok 13 /option/restoration/boolean 1111s # End of restoration tests 1111s # Start of arg tests 1111s ok 14 /option/arg/reverse-string 1111s ok 15 /option/arg/optional-int 1111s # Start of repetition tests 1111s ok 16 /option/arg/repetition/int 1111s ok 17 /option/arg/repetition/string 1111s ok 18 /option/arg/repetition/filename 1111s ok 19 /option/arg/repetition/double 1111s ok 20 /option/arg/repetition/locale 1111s ok 21 /option/arg/repetition/int64 1111s # End of repetition tests 1111s # Start of array tests 1111s ok 22 /option/arg/array/string 1111s # End of array tests 1111s # Start of callback tests 1111s ok 23 /option/arg/callback/string 1111s ok 24 /option/arg/callback/count 1111s ok 25 /option/arg/callback/optional1 1111s ok 26 /option/arg/callback/optional2 1111s ok 27 /option/arg/callback/optional3 1111s ok 28 /option/arg/callback/optional4 1111s ok 29 /option/arg/callback/optional5 1111s ok 30 /option/arg/callback/optional6 1111s ok 31 /option/arg/callback/optional7 1111s ok 32 /option/arg/callback/optional8 1111s # End of callback tests 1111s # Start of remaining tests 1111s ok 33 /option/arg/remaining/callback 1111s ok 34 /option/arg/remaining/callback-false 1111s ok 35 /option/arg/remaining/non-option 1111s ok 36 /option/arg/remaining/separator 1111s ok 37 /option/arg/remaining/array 1111s # End of remaining tests 1111s # Start of ignore tests 1111s ok 38 /option/arg/ignore/long 1111s ok 39 /option/arg/ignore/short 1111s ok 40 /option/arg/ignore/arg 1111s # End of ignore tests 1111s # Start of rest tests 1111s ok 41 /option/arg/rest/non-option 1111s ok 42 /option/arg/rest/separator1 1111s ok 43 /option/arg/rest/separator2 1111s ok 44 /option/arg/rest/separator3 1111s ok 45 /option/arg/rest/separator4 1111s ok 46 /option/arg/rest/separator5 1111s # End of rest tests 1111s # End of arg tests 1111s # Start of context tests 1111s ok 47 /option/context/add 1111s ok 48 /option/context/empty2 1111s ok 49 /option/context/empty3 1111s # End of context tests 1111s # Start of bug tests 1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1111s ok 50 /option/bug/unknown-short 1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1111s ok 51 /option/bug/lonely-dash 1111s ok 52 /option/bug/triple-dash 1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1111s ok 53 /option/bug/missing-arg 1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1111s ok 54 /option/bug/dash-arg 1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1111s ok 55 /option/bug/short-remaining 1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1111s ok 56 /option/bug/double-free 1111s ok 57 /option/bug/double-zero 1111s # End of bug tests 1111s # End of option tests 1111s ok - glib/option-context.test 1111s # Running test: glib/gdbus-names.test 1111s TAP version 14 1111s # random seed: R02Sc1a8d7315977afafe70e98f14b001a78 1111s 1..10 1111s # Start of gdbus tests 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/validate-names/.dirs/runtime 1111s ok 1 /gdbus/validate-names 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/bus-own-name/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 2 /gdbus/bus-own-name 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 3 /gdbus/bus-watch-name 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 4 /gdbus/bus-watch-name-auto-start 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s dbus-daemon[4288]: [session uid=1000 pid=4288 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=4279 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1111s # Acquired a message bus connection 1111s dbus-daemon[4288]: [session uid=1000 pid=4288 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1111s # Acquired the name org.gtk.GDBus.FakeService 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 6 /gdbus/bus-watch-name-closures 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 7 /gdbus/bus-watch-name-closures-auto-start 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/bus-watch-different-context/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 8 /gdbus/bus-watch-different-context 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/bus-unwatch-early/.dirs/runtime 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 9 /gdbus/bus-unwatch-early 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LSX512/gdbus/escape-object-path/.dirs/runtime 1111s ok 10 /gdbus/escape-object-path 1111s # End of gdbus tests 1111s ok - glib/gdbus-names.test 1111s # Running test: glib/ifaceproperties.test 1111s TAP version 14 1111s # random seed: R02Sff3b9376687bead270aa4b7e537a57d2 1111s 1..7 1111s # Start of interface tests 1111s # Start of properties tests 1111s ok 1 /interface/properties/set 1111s ok 2 /interface/properties/notify 1111s ok 3 /interface/properties/find-overridden 1111s ok 4 /interface/properties/list-overridden 1111s ok 5 /interface/properties/find-interface 1111s ok 6 /interface/properties/list-interface 1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1111s ok 7 /interface/properties/not-overridden 1111s # End of properties tests 1111s # End of interface tests 1111s ok - glib/ifaceproperties.test 1111s # Running test: glib/socket-listener.test 1111s TAP version 14 1111s # random seed: R02S5459ed6f6a02e7c040b7bbac68cc3ba7 1111s 1..1 1111s # Start of socket-listener tests 1111s ok 1 /socket-listener/event-signal 1111s # End of socket-listener tests 1111s ok - glib/socket-listener.test 1111s # Running test: glib/gdbus-connection.test 1111s TAP version 14 1111s # random seed: R02Sb278d99a5bac5ca07a3c83e831bf9017 1111s 1..9 1111s # Start of gdbus tests 1111s # Start of connection tests 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GYT612/gdbus/connection/bus-failure/.dirs/runtime 1111s ok 1 /gdbus/connection/bus-failure 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GYT612/gdbus/connection/basic/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 2 /gdbus/connection/basic 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GYT612/gdbus/connection/life-cycle/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 3 /gdbus/connection/life-cycle 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GYT612/gdbus/connection/send/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 4 /gdbus/connection/send 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signals/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 5 /gdbus/connection/signals 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GYT612/gdbus/connection/signal-match-rules/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s ok 6 /gdbus/connection/signal-match-rules 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GYT612/gdbus/connection/filter/.dirs/runtime 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1111s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 7 /gdbus/connection/filter 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GYT612/gdbus/connection/serials/.dirs/runtime 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 8 /gdbus/connection/serials 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GYT612/gdbus/connection/cancel/.dirs/runtime 1112s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 9 /gdbus/connection/cancel 1112s # End of connection tests 1112s # End of gdbus tests 1112s ok - glib/gdbus-connection.test 1112s # Running test: glib/gdbus-close-pending.test 1112s TAP version 14 1112s # random seed: R02S1c2df947bc8f7a38fb3533e66160b92e 1112s 1..2 1112s # Start of gdbus tests 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_ODRA22/gdbus/close-pending/.dirs/runtime 1112s ok 1 /gdbus/close-pending 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_ODRA22/gdbus/unref-pending/.dirs/runtime 1112s ok 2 /gdbus/unref-pending 1112s # End of gdbus tests 1112s ok - glib/gdbus-close-pending.test 1112s # Running test: glib/async-splice-output-stream.test 1112s TAP version 14 1112s # random seed: R02S8c5656a98fa74aa719fe63434ca2546a 1112s 1..5 1112s # Start of async-splice tests 1112s ok 1 /async-splice/copy-chunks 1112s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1112s ok 2 /async-splice/copy-chunks-threaded-input 1112s ok 3 /async-splice/copy-chunks-threaded-output 1112s ok 4 /async-splice/copy-chunks-threaded 1112s ok 5 /async-splice/cancelled 1112s # End of async-splice tests 1112s ok - glib/async-splice-output-stream.test 1112s # Running test: glib/atomic-c-99.test 1112s TAP version 14 1112s # random seed: R02S2d5e34184f5df5ac2ae4316858acdef9 1112s 1..2 1112s # Start of atomic tests 1112s ok 1 /atomic/types 1112s ok 2 /atomic/threaded 1112s # End of atomic tests 1112s ok - glib/atomic-c-99.test 1112s # Running test: glib/array-test.test 1112s TAP version 14 1112s # random seed: R02Scb79327ff6328f115bef9ea4cead9093 1112s 1..113 1112s # Start of array tests 1112s ok 1 /array/ref-count 1112s ok 2 /array/steal 1112s ok 3 /array/clear-func 1112s ok 4 /array/binary-search 1112s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1112s ok 5 /array/copy-sized 1112s ok 6 /array/overflow-append-vals 1112s ok 7 /array/overflow-set-size 1112s # Start of new tests 1112s ok 8 /array/new/zero-terminated 1112s ok 9 /array/new/take 1112s ok 10 /array/new/take-zero-terminated 1112s # Start of take tests 1112s ok 11 /array/new/take/empty 1112s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1112s # End of take tests 1112s # End of new tests 1112s # Start of set-size tests 1112s ok 13 /array/set-size/non-zero-terminated-no-clear 1112s ok 14 /array/set-size/non-zero-terminated-clear 1112s ok 15 /array/set-size/zero-terminated-no-clear 1112s ok 16 /array/set-size/zero-terminated-clear 1112s # Start of sized tests 1112s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1112s ok 18 /array/set-size/sized/non-zero-terminated-clear 1112s ok 19 /array/set-size/sized/zero-terminated-no-clear 1112s ok 20 /array/set-size/sized/zero-terminated-clear 1112s # End of sized tests 1112s # End of set-size tests 1112s # Start of append-val tests 1112s ok 21 /array/append-val/non-zero-terminated-no-clear 1112s ok 22 /array/append-val/non-zero-terminated-clear 1112s ok 23 /array/append-val/zero-terminated-no-clear 1112s ok 24 /array/append-val/zero-terminated-clear 1112s # End of append-val tests 1112s # Start of prepend-val tests 1112s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1112s ok 26 /array/prepend-val/non-zero-terminated-clear 1112s ok 27 /array/prepend-val/zero-terminated-no-clear 1112s ok 28 /array/prepend-val/zero-terminated-clear 1112s # End of prepend-val tests 1112s # Start of prepend-vals tests 1112s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1112s ok 30 /array/prepend-vals/non-zero-terminated-clear 1112s ok 31 /array/prepend-vals/zero-terminated-no-clear 1112s ok 32 /array/prepend-vals/zero-terminated-clear 1112s # End of prepend-vals tests 1112s # Start of insert-vals tests 1112s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1112s ok 34 /array/insert-vals/non-zero-terminated-clear 1112s ok 35 /array/insert-vals/zero-terminated-no-clear 1112s ok 36 /array/insert-vals/zero-terminated-clear 1112s # End of insert-vals tests 1112s # Start of remove-index tests 1112s ok 37 /array/remove-index/non-zero-terminated-no-clear 1112s ok 38 /array/remove-index/non-zero-terminated-clear 1112s ok 39 /array/remove-index/zero-terminated-no-clear 1112s ok 40 /array/remove-index/zero-terminated-clear 1112s # End of remove-index tests 1112s # Start of remove-index-fast tests 1112s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1112s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1112s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1112s ok 44 /array/remove-index-fast/zero-terminated-clear 1112s # End of remove-index-fast tests 1112s # Start of remove-range tests 1112s ok 45 /array/remove-range/non-zero-terminated-no-clear 1112s ok 46 /array/remove-range/non-zero-terminated-clear 1112s ok 47 /array/remove-range/zero-terminated-no-clear 1112s ok 48 /array/remove-range/zero-terminated-clear 1112s # End of remove-range tests 1112s # Start of copy tests 1112s ok 49 /array/copy/non-zero-terminated-no-clear 1112s ok 50 /array/copy/non-zero-terminated-clear 1112s ok 51 /array/copy/zero-terminated-no-clear 1112s ok 52 /array/copy/zero-terminated-clear 1112s # End of copy tests 1112s # Start of sort tests 1112s ok 53 /array/sort/non-zero-terminated-no-clear 1112s ok 54 /array/sort/non-zero-terminated-clear 1112s ok 55 /array/sort/zero-terminated-no-clear 1112s ok 56 /array/sort/zero-terminated-clear 1112s # End of sort tests 1112s # Start of sort-with-data tests 1112s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1112s ok 58 /array/sort-with-data/non-zero-terminated-clear 1112s ok 59 /array/sort-with-data/zero-terminated-no-clear 1112s ok 60 /array/sort-with-data/zero-terminated-clear 1112s # End of sort-with-data tests 1112s # End of array tests 1112s # Start of pointerarray tests 1112s ok 61 /pointerarray/add 1112s ok 62 /pointerarray/insert 1112s ok 63 /pointerarray/new-take 1112s ok 64 /pointerarray/new-take-null-terminated 1112s ok 65 /pointerarray/new-from-array 1112s ok 66 /pointerarray/new-from-null-terminated-array 1112s ok 67 /pointerarray/free-func 1112s ok 68 /pointerarray/array_extend_and_steal 1112s ok 69 /pointerarray/sort 1112s ok 70 /pointerarray/sort-with-data 1112s ok 71 /pointerarray/sort-values 1112s ok 72 /pointerarray/sort-values-with-data 1112s ok 73 /pointerarray/remove-range 1112s ok 74 /pointerarray/steal 1112s # Start of free tests 1112s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1112s ok 75 /pointerarray/free/null-terminated 1112s # End of free tests 1112s # Start of new-take tests 1112s ok 76 /pointerarray/new-take/empty 1112s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1112s ok 78 /pointerarray/new-take/with-free-func 1112s # End of new-take tests 1112s # Start of new-take-null-terminated tests 1112s ok 79 /pointerarray/new-take-null-terminated/empty 1112s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1112s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1112s # End of new-take-null-terminated tests 1112s # Start of new-from-array tests 1112s ok 82 /pointerarray/new-from-array/empty 1112s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1112s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1112s # End of new-from-array tests 1112s # Start of new-from-null-terminated-array tests 1112s ok 85 /pointerarray/new-from-null-terminated-array/empty 1112s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1112s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1112s # End of new-from-null-terminated-array tests 1112s # Start of ref-count tests 1112s ok 88 /pointerarray/ref-count/not-null-terminated 1112s ok 89 /pointerarray/ref-count/null-terminated 1112s # End of ref-count tests 1112s # Start of array_copy tests 1112s # /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 1112s ok 90 /pointerarray/array_copy/not-null-terminated 1112s # /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 1112s ok 91 /pointerarray/array_copy/null-terminated 1112s # End of array_copy tests 1112s # Start of array_extend tests 1112s ok 92 /pointerarray/array_extend/not-null-terminated 1112s ok 93 /pointerarray/array_extend/null-terminated 1112s # End of array_extend tests 1112s # Start of sort tests 1112s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1112s ok 94 /pointerarray/sort/example 1112s # End of sort tests 1112s # Start of sort-with-data tests 1112s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1112s ok 95 /pointerarray/sort-with-data/example 1112s # End of sort-with-data tests 1112s # Start of sort-values tests 1112s ok 96 /pointerarray/sort-values/example 1112s # End of sort-values tests 1112s # Start of sort-values-with-data tests 1112s ok 97 /pointerarray/sort-values-with-data/example 1112s # End of sort-values-with-data tests 1112s # Start of find tests 1112s ok 98 /pointerarray/find/empty 1112s ok 99 /pointerarray/find/non-empty 1112s # End of find tests 1112s # Start of steal_index tests 1112s ok 100 /pointerarray/steal_index/not-null-terminated 1112s ok 101 /pointerarray/steal_index/null-terminated 1112s # End of steal_index tests 1112s # End of pointerarray tests 1112s # Start of bytearray tests 1112s ok 102 /bytearray/steal 1112s ok 103 /bytearray/append 1112s ok 104 /bytearray/prepend 1112s ok 105 /bytearray/remove 1112s ok 106 /bytearray/remove-fast 1112s ok 107 /bytearray/remove-range 1112s ok 108 /bytearray/ref-count 1112s ok 109 /bytearray/sort 1112s ok 110 /bytearray/sort-with-data 1112s ok 111 /bytearray/new-take 1112s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1112s ok 113 /bytearray/free-to-bytes 1112s # End of bytearray tests 1112s ok - glib/array-test.test 1112s # Running test: glib/portal-support-snap-classic.test 1112s TAP version 14 1112s # random seed: R02S015bfa852dfb0b15685f873ada0eee6a 1112s 1..3 1112s # Start of portal-support tests 1112s # Start of snap-classic tests 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl/.dirs/runtime 1112s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/no-snapctl: No such file or directory 1112s ok 1 /portal-support/snap-classic/no-snapctl 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/runtime 1112s # Created snap.yaml in /tmp/test_portal-support-snap-classic_MI2212/meta/snap.yaml 1112s # Created snapctl in /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none/.dirs/runtime/snapctl 1112s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/none: No such file or directory 1112s ok 2 /portal-support/snap-classic/none 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/runtime 1112s # Created snap.yaml in /tmp/test_portal-support-snap-classic_MI2212/meta/snap.yaml 1112s # Created snapctl in /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all/.dirs/runtime/snapctl 1112s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_MI2212/portal-support/snap-classic/all: No such file or directory 1112s ok 3 /portal-support/snap-classic/all 1112s # End of snap-classic tests 1112s # End of portal-support tests 1112s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_MI2212: No such file or directory 1112s ok - glib/portal-support-snap-classic.test 1112s # Running test: glib/cxx-11.test 1112s TAP version 14 1112s # random seed: R02S2536171cd4f7cbe18bc5e537cf914d5c 1112s 1..2 1112s # Start of gtask tests 1112s # 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. 1112s ok 1 /gtask/name 1112s # Start of name tests 1112s # 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. 1112s ok 2 /gtask/name/macro-wrapper 1112s # End of name tests 1112s # End of gtask tests 1112s ok - glib/cxx-11.test 1112s # Running test: glib/strfuncs.test 1112s TAP version 14 1112s # random seed: R02S80c0ac441ec61ffc33aa281799748515 1112s 1..51 1112s # Start of strfuncs tests 1112s ok 1 /strfuncs/ascii-strcasecmp 1112s ok 2 /strfuncs/ascii_strdown 1112s ok 3 /strfuncs/ascii_strdup 1112s ok 4 /strfuncs/ascii_strtod 1112s ok 5 /strfuncs/bounds-check 1112s ok 6 /strfuncs/has-prefix 1112s ok 7 /strfuncs/has-prefix-macro 1112s ok 8 /strfuncs/has-suffix 1112s ok 9 /strfuncs/has-suffix-macro 1112s ok 10 /strfuncs/memdup 1112s ok 11 /strfuncs/memdup2 1112s ok 12 /strfuncs/set_str 1112s ok 13 /strfuncs/stpcpy 1112s ok 14 /strfuncs/str_match_string 1112s ok 15 /strfuncs/str_tokenize_and_fold 1112s ok 16 /strfuncs/strcanon 1112s ok 17 /strfuncs/strchomp 1112s ok 18 /strfuncs/strchug 1112s ok 19 /strfuncs/strcompress-strescape 1112s ok 20 /strfuncs/strconcat 1112s ok 21 /strfuncs/strdelimit 1112s ok 22 /strfuncs/strdup 1112s ok 23 /strfuncs/strdup-printf 1112s ok 24 /strfuncs/strdupv 1112s ok 25 /strfuncs/strerror 1112s ok 26 /strfuncs/strip-context 1112s ok 27 /strfuncs/strjoin 1112s ok 28 /strfuncs/strjoinv 1112s ok 29 /strfuncs/strlcat 1112s ok 30 /strfuncs/strlcpy 1112s ok 31 /strfuncs/strncasecmp 1112s ok 32 /strfuncs/strndup 1112s ok 33 /strfuncs/strnfill 1112s ok 34 /strfuncs/strreverse 1112s ok 35 /strfuncs/strsignal 1112s ok 36 /strfuncs/strsplit 1112s ok 37 /strfuncs/strsplit-set 1112s ok 38 /strfuncs/strstr 1112s ok 39 /strfuncs/strtod 1112s ok 40 /strfuncs/strtoull-strtoll 1112s ok 41 /strfuncs/strup 1112s ok 42 /strfuncs/strv-contains 1112s ok 43 /strfuncs/strv-equal 1112s ok 44 /strfuncs/strv-length 1112s ok 45 /strfuncs/test-is-to-digit 1112s ok 46 /strfuncs/transliteration 1112s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1112s ok 47 /strfuncs/str-equal 1112s ok 48 /strfuncs/str-is-ascii 1112s # Start of ascii-string-to-num tests 1112s ok 49 /strfuncs/ascii-string-to-num/pathological 1112s ok 50 /strfuncs/ascii-string-to-num/usual 1112s # End of ascii-string-to-num tests 1112s # Start of strdup tests 1112s ok 51 /strfuncs/strdup/inline 1112s # End of strdup tests 1112s # End of strfuncs tests 1112s ok - glib/strfuncs.test 1112s # Running test: glib/slice.test 1112s TAP version 14 1112s # random seed: R02Sccc2708b05fe8d84aac69f7ab973182a 1112s 1..3 1112s # Start of slice tests 1112s ok 1 /slice/copy 1112s ok 2 /slice/chain 1112s ok 3 /slice/allocate 1112s # End of slice tests 1112s ok - glib/slice.test 1112s # Running test: glib/gdbus-introspection.test 1112s TAP version 14 1112s # random seed: R02S7b8e6252fefb9040151f655e4873b486 1112s 1..4 1112s # Start of gdbus tests 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-parser/.dirs/runtime 1113s ok 1 /gdbus/introspection-parser 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-generate/.dirs/runtime 1113s ok 2 /gdbus/introspection-generate 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-default-direction/.dirs/runtime 1113s ok 3 /gdbus/introspection-default-direction 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_NPU812/gdbus/introspection-extra-data/.dirs/runtime 1113s ok 4 /gdbus/introspection-extra-data 1113s # End of gdbus tests 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok - glib/gdbus-introspection.test 1113s # Running test: glib/gdbus-server-auth.test 1113s TAP version 14 1113s # random seed: R02S996d0ea78075d9d122ec73f9706707f6 1113s 1..9 1113s # Start of gdbus tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/.dirs/runtime 1113s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-V0E812 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1113s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-V0E812/dbus-NRYAqAU4 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4462 1113s ok 1 /gdbus/server-auth 1113s # Start of server-auth tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/abstract/.dirs/runtime 1113s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-IJ5712 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1113s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-IJ5712/dbus-R1HSlonJ 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1113s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1113s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4462 1113s ok 2 /gdbus/server-auth/abstract 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/tcp/.dirs/runtime 1113s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1113s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/.dirs/runtime 1113s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-CQOA22 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1113s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-CQOA22/dbus-Cy5YeDvt 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4462 1113s ok 4 /gdbus/server-auth/anonymous 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/.dirs/runtime 1113s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-N13B22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1113s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-N13B22/dbus-wsGSU62O 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4462 1113s ok 5 /gdbus/server-auth/external 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/.dirs/runtime 1113s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-2RTB22 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1113s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1113s # Start of anonymous tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1113s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1113s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1113s # End of anonymous tests 1113s # Start of external tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/external/require-same-user/.dirs/runtime 1113s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-4BTB22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1113s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RE812/gdbus-server-auth-4BTB22/dbus-h9jhnVr6 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4462 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1113s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1113s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4462,uid=1000,gid=1000 1113s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4462 1113s ok 8 /gdbus/server-auth/external/require-same-user 1113s # End of external tests 1113s # Start of sha1 tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RE812/gdbus/server-auth/sha1/tcp/.dirs/runtime 1113s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1113s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1113s # End of sha1 tests 1113s # End of server-auth tests 1113s # End of gdbus tests 1113s ok - glib/gdbus-server-auth.test 1113s # Running test: glib/asyncqueue.test 1113s TAP version 14 1113s # random seed: R02S4c65c9ac6e46ef574411e244c23569b7 1113s 1..7 1113s # Start of asyncqueue tests 1113s ok 1 /asyncqueue/basics 1113s ok 2 /asyncqueue/sort 1113s ok 3 /asyncqueue/destroy 1113s ok 4 /asyncqueue/threads 1113s ok 5 /asyncqueue/timed 1113s ok 6 /asyncqueue/remove 1113s ok 7 /asyncqueue/push_front 1113s # End of asyncqueue tests 1113s ok - glib/asyncqueue.test 1113s # Running test: glib/bitlock.test 1113s TAP version 14 1113s # random seed: R02Sc0b23bf0cdabef9485cd53131d289e7e 1113s 1..1 1113s # Start of bitlock tests 1113s # Start of performance tests 1113s # max perf: iterations per second 1113s ok 1 /bitlock/performance/uncontended 1113s # End of performance tests 1113s # End of bitlock tests 1113s ok - glib/bitlock.test 1113s # Running test: glib/gdbus-test-codegen.test 1113s TAP version 14 1113s # random seed: R02S6662ee078dfcfa668486fbe2d0512cae 1113s 1..8 1113s # Start of gdbus tests 1113s # Start of codegen tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/annotations/.dirs/runtime 1113s ok 1 /gdbus/codegen/annotations 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/interface_stability/.dirs/runtime 1113s ok 2 /gdbus/codegen/interface_stability 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/object-manager/.dirs/runtime 1113s ok 3 /gdbus/codegen/object-manager 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/property-naming/.dirs/runtime 1113s ok 4 /gdbus/codegen/property-naming 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/autocleanups/.dirs/runtime 1113s ok 5 /gdbus/codegen/autocleanups 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/deprecations/.dirs/runtime 1113s ok 6 /gdbus/codegen/deprecations 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/standalone-interface-info/.dirs/runtime 1113s ok 7 /gdbus/codegen/standalone-interface-info 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_RG3L22/gdbus/codegen/unix-fd-list/.dirs/runtime 1113s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1113s ok 8 /gdbus/codegen/unix-fd-list 1113s # End of codegen tests 1113s # End of gdbus tests 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok - glib/gdbus-test-codegen.test 1113s # Running test: glib/gmenumodel.test 1113s TAP version 14 1113s # random seed: R02Sbb532105ead9d9dccbe5c755fcdff5a1 1113s 1..15 1113s # Start of gmenu tests 1114s ok 1 /gmenu/equality 1114s # slow test /gmenu/equality executed in 0.59 secs 1114s ok 2 /gmenu/random 1114s # slow test /gmenu/random executed in 0.71 secs 1114s ok 3 /gmenu/attributes 1114s ok 4 /gmenu/links 1114s ok 5 /gmenu/mutable 1114s ok 6 /gmenu/convenience 1114s ok 7 /gmenu/menuitem 1114s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1114s # Executing: glib/gmenumodel.test 1114s ok 8 /gmenu/input-validation 1114s # Start of dbus tests 1115s ok 9 /gmenu/dbus/roundtrip 1115s # slow test /gmenu/dbus/roundtrip executed in 1.03 secs 1116s ok 10 /gmenu/dbus/subscriptions 1117s ok 11 /gmenu/dbus/threaded 1117s # slow test /gmenu/dbus/threaded executed in 0.82 secs 1117s # Start of peer tests 1118s ok 12 /gmenu/dbus/peer/roundtrip 1118s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1118s ok 13 /gmenu/dbus/peer/subscriptions 1118s # End of peer tests 1118s # Start of export tests 1118s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1118s ok 14 /gmenu/dbus/export/error-handling 1118s # End of export tests 1118s # End of dbus tests 1118s # Start of attributes tests 1118s ok 15 /gmenu/attributes/iterate 1118s # End of attributes tests 1118s # End of gmenu tests 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1118s ok - glib/gmenumodel.test 1118s # Running test: glib/tls-database.test 1118s TAP version 14 1118s # random seed: R02S44b7003f9f6ea7ecd977ec6e7c45cb25 1118s 1..1 1118s # Start of tls-backend tests 1118s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1118s ok 1 /tls-backend/set-default-database 1118s # End of tls-backend tests 1118s ok - glib/tls-database.test 1118s # Running test: glib/network-monitor.test 1118s TAP version 14 1118s # random seed: R02S4e00dd59724849651e98cc25aef8a9a3 1118s 1..4 1118s # Start of network-monitor tests 1118s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1118s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1118s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1118s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1118s ok 1 /network-monitor/default 1118s ok 2 /network-monitor/remove_default 1118s ok 3 /network-monitor/add_networks 1118s ok 4 /network-monitor/remove_networks 1118s # End of network-monitor tests 1118s ok - glib/network-monitor.test 1118s # Running test: glib/mount-operation.test 1118s TAP version 14 1118s # random seed: R02Se8c1e4583b4e345246b6c904efecae7a 1118s 1..2 1118s # Start of mount-operation tests 1118s ok 1 /mount-operation/construction 1118s ok 2 /mount-operation/properties 1118s # End of mount-operation tests 1118s ok - glib/mount-operation.test 1118s # Running test: glib/hmac.test 1118s TAP version 14 1118s # random seed: R02S764b5589ddb3ef84165afbfc280c53f9 1118s 1..37 1118s # Start of hmac tests 1118s ok 1 /hmac/sha1-1 1118s ok 2 /hmac/sha1-2 1118s ok 3 /hmac/sha1-3 1118s ok 4 /hmac/sha1-4 1118s ok 5 /hmac/sha1-5 1118s ok 6 /hmac/sha1-6 1118s ok 7 /hmac/sha1-7 1118s ok 8 /hmac/sha256-1 1118s ok 9 /hmac/sha256-2 1118s ok 10 /hmac/sha256-3 1118s ok 11 /hmac/sha256-4 1118s ok 12 /hmac/sha256-5 1118s ok 13 /hmac/sha256-6 1118s ok 14 /hmac/sha384-1 1118s ok 15 /hmac/sha384-2 1118s ok 16 /hmac/sha384-3 1118s ok 17 /hmac/sha384-4 1118s ok 18 /hmac/sha384-5 1118s ok 19 /hmac/sha384-6 1118s ok 20 /hmac/sha512-1 1118s ok 21 /hmac/sha512-2 1118s ok 22 /hmac/sha512-3 1118s ok 23 /hmac/sha512-4 1118s ok 24 /hmac/sha512-5 1118s ok 25 /hmac/sha512-6 1118s ok 26 /hmac/md5-1 1118s ok 27 /hmac/md5-2 1118s ok 28 /hmac/md5-3 1118s ok 29 /hmac/md5-4 1118s ok 30 /hmac/md5-5 1118s ok 31 /hmac/md5-6 1118s ok 32 /hmac/md5-7 1118s ok 33 /hmac/ref-unref 1118s ok 34 /hmac/copy 1118s ok 35 /hmac/for-data 1118s ok 36 /hmac/for-string 1118s ok 37 /hmac/for-bytes 1118s # End of hmac tests 1118s ok - glib/hmac.test 1118s # Running test: glib/cxx-17.test 1118s TAP version 14 1118s # random seed: R02Sd7a8250d43b8d377b7b9da1a5a892370 1118s 1..2 1118s # Start of gtask tests 1118s # 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. 1118s ok 1 /gtask/name 1118s # Start of name tests 1118s # 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. 1118s ok 2 /gtask/name/macro-wrapper 1118s # End of name tests 1118s # End of gtask tests 1118s ok - glib/cxx-17.test 1118s # Running test: glib/gvariant.test 1118s TAP version 14 1118s # random seed: R02S512c236a6d3b3a16981b0f9819ec912d 1118s 1..68 1118s # Start of gvariant tests 1118s ok 1 /gvariant/type 1118s ok 2 /gvariant/typeinfo 1118s ok 3 /gvariant/string 1118s ok 4 /gvariant/utf8 1118s ok 5 /gvariant/utf8-new-strings 1119s ok 6 /gvariant/containers 1119s ok 7 /gvariant/format-strings 1119s ok 8 /gvariant/invalid-varargs 1119s ok 9 /gvariant/varargs 1119s ok 10 /gvariant/valist 1119s ok 11 /gvariant/builder-memory 1119s ok 12 /gvariant/hashing 1119s ok 13 /gvariant/byteswap 1119s ok 14 /gvariant/parser 1119s ok 15 /gvariant/parse-failures 1119s ok 16 /gvariant/parse-positional 1119s ok 17 /gvariant/floating 1119s ok 18 /gvariant/bytestring 1119s ok 19 /gvariant/lookup-value 1119s ok 20 /gvariant/lookup 1119s ok 21 /gvariant/compare 1119s ok 22 /gvariant/equal 1119s ok 23 /gvariant/fixed-array 1119s ok 24 /gvariant/check-format-string 1119s ok 25 /gvariant/checksum-basic 1119s ok 26 /gvariant/checksum-nested 1119s ok 27 /gvariant/gbytes 1119s ok 28 /gvariant/print-context 1119s ok 29 /gvariant/error-quark 1119s ok 30 /gvariant/stack-builder-init 1119s ok 31 /gvariant/stack-builder-init-static 1119s ok 32 /gvariant/stack-builder-init-unset 1119s ok 33 /gvariant/stack-dict-init 1119s ok 34 /gvariant/unaligned-construction 1119s # Start of type tests 1119s # Start of string-scan tests 1119s # Start of recursion tests 1119s ok 35 /gvariant/type/string-scan/recursion/tuple 1119s ok 36 /gvariant/type/string-scan/recursion/array 1119s # End of recursion tests 1119s # End of string-scan tests 1119s # End of type tests 1119s # Start of serialiser tests 1119s ok 37 /gvariant/serialiser/maybe 1119s ok 38 /gvariant/serialiser/array 1119s ok 39 /gvariant/serialiser/tuple 1119s ok 40 /gvariant/serialiser/variant 1119s ok 41 /gvariant/serialiser/strings 1119s # Executing: glib/gvariant.test 1123s ok 42 /gvariant/serialiser/byteswap 1123s # slow test /gvariant/serialiser/byteswap executed in 3.45 secs 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1123s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1123s ok 43 /gvariant/serialiser/children 1123s # Start of fuzz tests 1123s ok 44 /gvariant/serialiser/fuzz/1% 1124s ok 45 /gvariant/serialiser/fuzz/5% 1124s # slow test /gvariant/serialiser/fuzz/5% executed in 0.60 secs 1124s ok 46 /gvariant/serialiser/fuzz/9% 1124s ok 47 /gvariant/serialiser/fuzz/13% 1124s ok 48 /gvariant/serialiser/fuzz/17% 1124s # End of fuzz tests 1124s # End of serialiser tests 1124s # Start of utf8 tests 1124s # Start of subprocess tests 1124s # End of subprocess tests 1124s # End of utf8 tests 1124s # Start of varargs tests 1124s # Start of subprocess tests 1124s # End of subprocess tests 1124s # End of varargs tests 1124s # Start of byteswap tests 1124s # /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. 1124s ok 49 /gvariant/byteswap/non-normal-non-aligned 1124s # End of byteswap tests 1124s # Start of parser tests 1124s ok 50 /gvariant/parser/integer-bounds 1124s ok 51 /gvariant/parser/recursion 1124s # Start of recursion tests 1124s ok 52 /gvariant/parser/recursion/typedecls 1124s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1124s # Text form 0: @mmmu 5 1124s # Text form 1: @mmmas ['hello'] 1124s # Text form 2: @mmmu just just nothing 1124s # Text form 3: @mmmas just just nothing 1124s # Text form 4: @mmmu just nothing 1124s # Text form 5: @mmmas just nothing 1124s # Text form 6: @mmmu nothing 1124s # Text form 7: @mmmas nothing 1124s ok 53 /gvariant/parser/recursion/maybes 1124s # End of recursion tests 1124s # End of parser tests 1124s # Start of parse tests 1124s # Start of subprocess tests 1124s # End of subprocess tests 1124s # End of parse tests 1124s # Start of normal-checking tests 1124s ok 54 /gvariant/normal-checking/tuples 1124s ok 55 /gvariant/normal-checking/array-offsets 1124s ok 56 /gvariant/normal-checking/array-offsets2 1124s ok 57 /gvariant/normal-checking/tuple-offsets 1124s ok 58 /gvariant/normal-checking/tuple-offsets2 1124s ok 59 /gvariant/normal-checking/tuple-offsets3 1124s ok 60 /gvariant/normal-checking/tuple-offsets4 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1124s ok 61 /gvariant/normal-checking/tuple-offsets5 1124s ok 62 /gvariant/normal-checking/empty-object-path 1124s # Start of array-offsets tests 1124s ok 63 /gvariant/normal-checking/array-offsets/overlapped 1124s ok 64 /gvariant/normal-checking/array-offsets/minimal-sized 1124s # End of array-offsets tests 1124s # Start of tuple-offsets tests 1124s ok 65 /gvariant/normal-checking/tuple-offsets/minimal-sized 1124s # End of tuple-offsets tests 1124s # End of normal-checking tests 1124s # Start of recursion-limits tests 1124s ok 66 /gvariant/recursion-limits/variant-in-variant 1124s ok 67 /gvariant/recursion-limits/array-in-variant 1124s # End of recursion-limits tests 1124s # End of gvariant tests 1124s # Start of gvarianttype tests 1124s ok 68 /gvarianttype/hash 1124s # End of gvarianttype tests 1124s ok - glib/gvariant.test 1124s # Running test: glib/cxx-03.test 1124s TAP version 14 1124s # random seed: R02S240d5b13d43d7ae43db8fb44224b97c6 1124s 1..2 1124s # Start of gtask tests 1124s # 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. 1124s ok 1 /gtask/name 1124s # Start of name tests 1124s # 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. 1124s ok 2 /gtask/name/macro-wrapper 1124s # End of name tests 1124s # End of gtask tests 1124s ok - glib/cxx-03.test 1124s # Running test: glib/properties.test 1124s TAP version 14 1124s # random seed: R02Sb32d981160b16fa343babdc79f395f6e 1124s 1..13 1124s # Start of properties tests 1124s ok 1 /properties/install 1124s ok 2 /properties/install-many 1124s ok 3 /properties/notify 1124s ok 4 /properties/notify-queue 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1124s ok 5 /properties/construct 1124s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1124s # Test g_object_get_property with an initialized value 1124s # Test g_object_get_property with an uninitialized value 1124s # Test g_object_get_property with a transformable value 1124s ok 6 /properties/get-property 1124s ok 7 /properties/testv_with_no_properties 1124s ok 8 /properties/testv_with_valid_properties 1124s ok 9 /properties/testv_with_invalid_property_type 1124s ok 10 /properties/testv_with_invalid_property_names 1124s ok 11 /properties/testv_getv 1124s ok 12 /properties/testv_notify_queue 1124s # Start of set-property tests 1124s # Start of variant tests 1124s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1124s ok 13 /properties/set-property/variant/floating 1124s # End of variant tests 1124s # End of set-property tests 1124s # End of properties tests 1124s ok - glib/properties.test 1124s # Running test: glib/642026.test 1124s TAP version 14 1124s # random seed: R02S21222fef388b037f6498cc0a47773b30 1124s 1..1 1124s # Start of glib tests 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1124s ok 1 /glib/642026 1124s # End of glib tests 1124s ok - glib/642026.test 1124s # Running test: glib/cxx-2b.test 1124s TAP version 14 1124s # random seed: R02S0bca5f4c15ea39045301bebb59b1fbaf 1124s 1..2 1124s # Start of gtask tests 1124s # 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. 1124s ok 1 /gtask/name 1124s # Start of name tests 1124s # 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. 1124s ok 2 /gtask/name/macro-wrapper 1124s # End of name tests 1124s # End of gtask tests 1124s ok - glib/cxx-2b.test 1124s # Running test: glib/objects-refcount1.test 1124s TAP version 14 1124s # random seed: R02S557d66a6b58a6dc25a63026b45fe5585 1124s 1..1 1124s # Start of gobject tests 1124s # Start of refcount tests 1124s # init 0xc88be5c99750 1124s # 1124s # init 0xc88be5c998e0 1124s # 1124s # Executing: glib/objects-refcount1.test 1129s # dispose 0xc88be5c99750! 1129s # 1129s # dispose 0xc88be5c998e0! 1129s # 1129s ok 1 /gobject/refcount/object-basics 1129s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1129s # End of refcount tests 1129s # End of gobject tests 1129s ok - glib/objects-refcount1.test 1129s # Running test: glib/tls-bindings.test 1129s TAP version 14 1129s # random seed: R02S29167603c5ef878e3942c103290c06ea 1129s 1..2 1129s # Start of tls-connection tests 1129s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1129s ok 1 /tls-connection/get-tls-channel-binding 1129s ok 2 /tls-connection/get-dtls-channel-binding 1129s # End of tls-connection tests 1129s ok - glib/tls-bindings.test 1129s # Running test: glib/tree.test 1129s TAP version 14 1129s # random seed: R02S5f4d36b1fbcc726f1194b24bcaa2129d 1129s 1..7 1129s # Start of tree tests 1129s ok 1 /tree/search 1129s ok 2 /tree/remove 1129s ok 3 /tree/destroy 1129s ok 4 /tree/traverse 1129s ok 5 /tree/insert 1129s ok 6 /tree/bounds 1129s ok 7 /tree/remove-all 1129s # End of tree tests 1129s ok - glib/tree.test 1129s # Running test: glib/reference.test 1129s TAP version 14 1129s # random seed: R02S9b1e62565272c20c9dcf73f243af1c7b 1129s 1..29 1129s # Start of type tests 1129s ok 1 /type/fundamentals 1129s ok 2 /type/qdata 1129s ok 3 /type/query 1129s ok 4 /type/class-private 1129s # End of type tests 1129s # Start of object tests 1129s ok 5 /object/clear 1129s ok 6 /object/clear-function 1129s ok 7 /object/set 1129s ok 8 /object/set-function 1129s ok 9 /object/value 1129s ok 10 /object/initially-unowned 1129s ok 11 /object/weak-pointer 1129s ok 12 /object/weak-ref 1129s ok 13 /object/toggle-ref 1129s ok 14 /object/qdata 1129s ok 15 /object/qdata2 1129s # Start of set tests 1129s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1129s ok 16 /object/set/derived-type 1129s # End of set tests 1129s # Start of weak-pointer tests 1129s ok 17 /object/weak-pointer/clear 1129s ok 18 /object/weak-pointer/clear-function 1129s ok 19 /object/weak-pointer/set 1129s ok 20 /object/weak-pointer/set-function 1129s # End of weak-pointer tests 1129s # Start of weak-ref tests 1129s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1129s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1129s ok 21 /object/weak-ref/on-dispose 1129s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1129s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1129s ok 22 /object/weak-ref/on-run-dispose 1129s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1129s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1129s ok 23 /object/weak-ref/on-toggle-notify 1129s ok 24 /object/weak-ref/in-toggle-notify 1129s ok 25 /object/weak-ref/many 1129s # Start of concurrent tests 1129s ok 26 /object/weak-ref/concurrent/0 1129s ok 27 /object/weak-ref/concurrent/1 1129s # End of concurrent tests 1129s # End of weak-ref tests 1129s # Start of toggle-ref tests 1129s ok 28 /object/toggle-ref/ref-on-dispose 1129s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1129s # End of toggle-ref tests 1129s # End of object tests 1129s ok - glib/reference.test 1129s # Running test: glib/fdo-notification-backend.test 1129s TAP version 14 1129s # random seed: R02Sc6ecbab87aa81a624c04513babf960ad 1129s 1..2 1129s # Start of fdo-notification-backend tests 1129s # Test constructing a GFdoNotificationBackend 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s ok 1 /fdo-notification-backend/construction 1129s # Start of dbus tests 1129s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1129s ok 2 /fdo-notification-backend/dbus/activate-action 1129s # End of dbus tests 1129s # End of fdo-notification-backend tests 1129s ok - glib/fdo-notification-backend.test 1129s # Running test: glib/inet-address.test 1129s TAP version 14 1129s # random seed: R02Sf9dd21a1260de9625a2e9ff1c7409419 1129s 1..11 1129s # Start of inet-address tests 1129s ok 1 /inet-address/parse 1129s ok 2 /inet-address/any 1129s ok 3 /inet-address/loopback 1129s ok 4 /inet-address/bytes 1129s ok 5 /inet-address/property 1129s # End of inet-address tests 1129s # Start of socket-address tests 1129s ok 6 /socket-address/basic 1129s ok 7 /socket-address/to-string 1129s # End of socket-address tests 1129s # Start of address-mask tests 1129s ok 8 /address-mask/parse 1129s ok 9 /address-mask/property 1129s ok 10 /address-mask/equal 1129s ok 11 /address-mask/match 1129s # End of address-mask tests 1129s ok - glib/inet-address.test 1129s # Running test: glib/threadtests.test 1129s TAP version 14 1129s # random seed: R02S0e253b1b6d8e5e6a39c636de8e586153 1129s 1..5 1129s # Start of GObject tests 1129s ok 1 /GObject/threaded-object-init 1129s # Executing: glib/threadtests.test 1130s ok 2 /GObject/threaded-weak-ref 1130s # slow test /GObject/threaded-weak-ref executed in 0.69 secs 1130s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1130s # /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 1130s ok 3 /GObject/threaded-toggle-notify 1130s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1130s # Start of threaded-weak-ref tests 1130s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1130s # /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. 1130s ok 5 /GObject/threaded-weak-ref/on-finalization 1130s # End of threaded-weak-ref tests 1130s # End of GObject tests 1130s ok - glib/threadtests.test 1130s # Running test: glib/sort.test 1130s TAP version 14 1130s # random seed: R02Sd1bd941a4daf4386aa834dee7d1b5784 1130s 1..5 1130s # Start of sort tests 1130s ok 1 /sort/basic 1130s ok 2 /sort/zero-elements 1130s ok 3 /sort/stable 1130s ok 4 /sort/big 1130s ok 5 /sort/deprecated 1130s # End of sort tests 1130s ok - glib/sort.test 1130s # Running test: glib/portal-support-none.test 1130s TAP version 14 1130s # random seed: R02S97a755192b30219bac192db3d6edd790 1130s 1..1 1130s # Start of portal-support tests 1130s ok 1 /portal-support/none 1130s # End of portal-support tests 1130s ok - glib/portal-support-none.test 1130s # Running test: glib/memory-output-stream.test 1130s TAP version 14 1130s # random seed: R02Se477f3c6cbedf9c5c1aab91506010d83 1130s 1..10 1130s # Start of memory-output-stream tests 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1130s ok 1 /memory-output-stream/truncate 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1130s ok 2 /memory-output-stream/get-data-size 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1130s ok 3 /memory-output-stream/properties 1130s ok 4 /memory-output-stream/write-bytes 1130s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1130s ok 5 /memory-output-stream/write-null 1130s ok 6 /memory-output-stream/writev 1130s ok 7 /memory-output-stream/writev_nonblocking 1130s ok 8 /memory-output-stream/steal_as_bytes 1130s # Start of seek tests 1130s ok 9 /memory-output-stream/seek/fixed 1130s ok 10 /memory-output-stream/seek/resizable 1130s # End of seek tests 1130s # End of memory-output-stream tests 1130s ok - glib/memory-output-stream.test 1130s # Running test: glib/atomic-c-89.test 1130s TAP version 14 1130s # random seed: R02S077979e0768df8e59855b64a88735d10 1130s 1..2 1130s # Start of atomic tests 1130s ok 1 /atomic/types 1130s ok 2 /atomic/threaded 1130s # End of atomic tests 1130s ok - glib/atomic-c-89.test 1130s # Running test: glib/gdbus-message.test 1130s TAP version 14 1130s # random seed: R02S51fcd129e277b21114a8463002cf8778 1130s 1..3 1130s # Start of gdbus tests 1130s # Start of message tests 1130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/home 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/cache 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/system-config2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/config 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/system-data2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/data 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/state 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_BON412/gdbus/message/lock/.dirs/runtime 1130s ok 1 /gdbus/message/lock 1130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/home 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/cache 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/system-config2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/config 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/system-data2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/data 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/state 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_BON412/gdbus/message/copy/.dirs/runtime 1130s ok 2 /gdbus/message/copy 1130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/home 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/cache 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/system-config2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/config 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/system-data2 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/data 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/state 1130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_BON412/gdbus/message/bytes-needed/.dirs/runtime 1130s # Vector: 0 1130s # Vector: 1 1130s # Vector: 2 1130s # Vector: 3 1130s # Vector: 4 1130s # Vector: 5 1130s ok 3 /gdbus/message/bytes-needed 1130s # End of message tests 1130s # End of gdbus tests 1130s ok - glib/gdbus-message.test 1130s # Running test: glib/gapplication.test 1130s TAP version 14 1130s # random seed: R02Sa000f0555d8f4f1a5795f05b3ed5aaab 1130s 1..24 1130s # Start of gapplication tests 1130s ok 1 /gapplication/no-dbus 1130s ok 2 /gapplication/no-appid 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s ok 3 /gapplication/properties 1130s ok 4 /gapplication/app-id 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s ok 5 /gapplication/quit 1130s ok 6 /gapplication/registered 1130s ok 7 /gapplication/local-actions 1130s ok 8 /gapplication/local-command-line 1130s ok 9 /gapplication/resource-path 1130s ok 10 /gapplication/test-help 1130s ok 11 /gapplication/command-line-done 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s ok 12 /gapplication/test-busy 1130s ok 13 /gapplication/test-handle-local-options1 1130s ok 14 /gapplication/test-handle-local-options2 1130s ok 15 /gapplication/test-handle-local-options3 1130s ok 16 /gapplication/api 1130s ok 17 /gapplication/version 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # launching subprocess 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s ok 18 /gapplication/replace 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # launching subprocess 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 19 /gapplication/no-replace 1131s # slow test /gapplication/no-replace executed in 0.51 secs 1131s # Start of dbus tests 1131s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # Message 0 1131s # Message 1 1131s # Message 2 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 20 /gapplication/dbus/activate 1131s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # Message 0 1131s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1131s # Message 1 1131s # Message 2 1131s # Message 3 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 21 /gapplication/dbus/open 1131s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # Message 0 1131s # Message 1 1131s # Message 2 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 22 /gapplication/dbus/command-line 1131s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 23 /gapplication/dbus/command-line-done 1131s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1131s # Message 0 1131s # Message 1 1131s # Message 2 1131s # Message 3 1131s # Message 4 1131s # Message 5 1131s # Message 6 1131s # Message 7 1131s # Message 8 1131s # Message 9 1131s # Message 10 1131s # Message 11 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1131s ok 24 /gapplication/dbus/activate-action 1131s # End of dbus tests 1131s # End of gapplication tests 1131s ok - glib/gapplication.test 1131s # Running test: glib/rwlock.test 1131s TAP version 14 1131s # random seed: R02S3f9f89e050f074b68e3165fa8f78ac00 1131s 1..8 1131s # Start of thread tests 1131s ok 1 /thread/rwlock1 1131s ok 2 /thread/rwlock2 1131s ok 3 /thread/rwlock3 1131s ok 4 /thread/rwlock4 1131s ok 5 /thread/rwlock5 1131s ok 6 /thread/rwlock6 1134s # Executing: glib/rwlock.test 1137s ok 7 /thread/rwlock7 1137s # slow test /thread/rwlock7 executed in 6.46 secs 1137s ok 8 /thread/rwlock8 1137s # End of thread tests 1137s ok - glib/rwlock.test 1137s # Running test: glib/actions.test 1137s TAP version 14 1137s # random seed: R02S4adeb5e9fb3ee5ec9911736b4366773b 1137s 1..13 1137s # Start of actions tests 1137s ok 1 /actions/basic 1137s ok 2 /actions/name 1137s ok 3 /actions/simplegroup 1137s ok 4 /actions/stateful 1137s ok 5 /actions/default-activate 1137s ok 6 /actions/entries 1138s ok 7 /actions/parse-detailed 1138s ok 8 /actions/property 1138s ok 9 /actions/no-properties 1138s # Start of dbus tests 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s ok 10 /actions/dbus/export 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1138s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s ok 11 /actions/dbus/threaded 1139s # slow test /actions/dbus/threaded executed in 1.19 secs 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s ok 12 /actions/dbus/bug679509 1139s # Start of export tests 1139s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1139s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1139s ok 13 /actions/dbus/export/error-handling 1139s # End of export tests 1139s # End of dbus tests 1139s # End of actions tests 1139s ok - glib/actions.test 1139s # Running test: glib/gdbus-address-get-session.test 1139s TAP version 14 1139s # random seed: R02S1a9c0073d3f786f520ee1d7cd772e157 1139s 1..2 1139s # Start of gdbus tests 1139s ok 1 /gdbus/x11-autolaunch 1139s ok 2 /gdbus/xdg-runtime 1139s # End of gdbus tests 1139s ok - glib/gdbus-address-get-session.test 1139s # Running test: glib/guuid.test 1139s TAP version 14 1139s # random seed: R02Sb1110d8b0e59ce8b347a7d79ae1d0cb5 1139s 1..2 1139s # Start of uuid tests 1139s ok 1 /uuid/string 1139s ok 2 /uuid/random 1139s # End of uuid tests 1139s ok - glib/guuid.test 1139s # Running test: glib/1bit-mutex.test 1139s TAP version 14 1139s # random seed: R02Sbcd3686c5c14258e3445dc76d17a6df5 1139s 1..2 1139s # Start of glib tests 1139s # Start of 1bit-mutex tests 1139s # Executing: glib/1bit-mutex.test 1143s ok 1 /glib/1bit-mutex/int 1143s # slow test /glib/1bit-mutex/int executed in 3.75 secs 1144s # Executing: glib/1bit-mutex.test 1147s ok 2 /glib/1bit-mutex/pointer 1147s # slow test /glib/1bit-mutex/pointer executed in 3.96 secs 1147s # End of 1bit-mutex tests 1147s # End of glib tests 1147s ok - glib/1bit-mutex.test 1147s # Running test: glib/file-thumbnail.test 1147s TAP version 14 1147s # random seed: R02Sc3a6f877572d7eba9e74d33df46cb01f 1147s 1..7 1147s # Start of file-thumbnail tests 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/runtime 1147s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1147s ok 1 /file-thumbnail/fail 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/runtime 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1147s ok 2 /file-thumbnail/size-priority 1147s # Start of valid tests 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/runtime 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1147s ok 3 /file-thumbnail/valid/normal 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/runtime 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1147s ok 4 /file-thumbnail/valid/large 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/runtime 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1147s ok 5 /file-thumbnail/valid/x-large 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/runtime 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1147s ok 6 /file-thumbnail/valid/xx-large 1147s # End of valid tests 1147s # Start of unknown tests 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/runtime 1147s # Created test thumbnail at /tmp/test_file-thumbnail_PMM812/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1147s ok 7 /file-thumbnail/unknown/super-large 1147s # End of unknown tests 1147s # End of file-thumbnail tests 1147s ok - glib/file-thumbnail.test 1147s # Running test: glib/overflow-fallback.test 1147s TAP version 14 1147s # random seed: R02S6d2a73ec9405ff00aaf3c65b11a0d9d9 1147s 1..6 1147s # Start of glib tests 1147s # Start of checked-math tests 1147s ok 1 /glib/checked-math/guint-add 1147s ok 2 /glib/checked-math/guint-mul 1147s ok 3 /glib/checked-math/guint64-add 1147s ok 4 /glib/checked-math/guint64-mul 1147s ok 5 /glib/checked-math/gsize-add 1147s ok 6 /glib/checked-math/gsize-mul 1147s # End of checked-math tests 1147s # End of glib tests 1147s ok - glib/overflow-fallback.test 1147s # Running test: glib/logging.test 1147s TAP version 14 1147s # random seed: R02Sfd15af478bb91d4dc7c6dbf06a7e5083 1147s 1..17 1147s # Start of logging tests 1147s ok 1 /logging/default-handler 1147s # slow test /logging/default-handler executed in 0.74 secs 1147s ok 2 /logging/warnings 1147s ok 3 /logging/fatal-log-mask 1147s # bu-DEBUG: message 1147s # ba-DEBUG: message 1147s # ba-INFO: message 1147s ok 4 /logging/set-handler 1147s ok 5 /logging/print-handler 1147s ok 6 /logging/printerr-handler 1147s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1147s # The Log Message Handler 1147s # 1147s # The Good Fail Message Handler 1147s # 1147s ok 7 /logging/653052 1147s ok 8 /logging/gibberish 1147s # Start of default-handler tests 1147s # Start of subprocess tests 1147s # End of subprocess tests 1147s # End of default-handler tests 1147s # End of logging tests 1147s # Start of structured-logging tests 1147s ok 9 /structured-logging/no-state 1147s ok 10 /structured-logging/some-state 1147s ok 11 /structured-logging/robustness 1147s ok 12 /structured-logging/roundtrip1 1147s ok 13 /structured-logging/roundtrip2 1147s ok 14 /structured-logging/roundtrip3 1147s ok 15 /structured-logging/variant1 1147s ok 16 /structured-logging/variant2 1147s ok 17 /structured-logging/set-writer-func-twice 1147s # End of structured-logging tests 1147s ok - glib/logging.test 1147s # Running test: glib/unicode-encoding.test 1147s TAP version 14 1147s # random seed: R02S272fee962052e2aeffdd203a425aa52c 1147s 1..1 1147s # Start of unicode tests 1147s ok 1 /unicode/encoding 1147s # End of unicode tests 1147s ok - glib/unicode-encoding.test 1147s # Running test: glib/properties-refcount4.test 1147s TAP version 14 1147s # random seed: R02S3f6b56debf9861197c10b55ba9302784 1147s 1..1 1147s # Start of gobject tests 1147s # Start of refcount tests 1147s ok 1 /gobject/refcount/properties-4 1147s # End of refcount tests 1147s # End of gobject tests 1147s ok - glib/properties-refcount4.test 1147s # Running test: glib/include.test 1147s TAP version 14 1147s # random seed: R02Sf0cc72d3d6ce66b7ac72bbea0b0c0389 1147s 1..1 1147s # Start of include tests 1147s ok 1 /include/rwlock 1147s # End of include tests 1147s ok - glib/include.test 1147s # Running test: glib/power-profile-monitor-dbus.test 1148s TAP version 13 1148s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1148s 1..1 1148s ok - glib/power-profile-monitor-dbus.test 1148s # Running test: glib/portal-support-snap.test 1148s TAP version 14 1148s # random seed: R02S397b32767343aefd71853da5310710b2 1148s 1..7 1148s # Start of portal-support tests 1148s # Start of snap tests 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl/.dirs/runtime 1148s # Created snap.yaml in /tmp/test_portal-support-snap_DODE22/meta/snap.yaml 1148s Unable to clean up temporary directory /tmp/test_portal-support-snap_DODE22/portal-support/snap/no-snapctl: No such file or directory 1148s ok 1 /portal-support/snap/no-snapctl 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/runtime 1148s # Created snap.yaml in /tmp/test_portal-support-snap_DODE22/meta/snap.yaml 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/none/.dirs/runtime/snapctl 1148s Unable to clean up temporary directory /tmp/test_portal-support-snap_DODE22/portal-support/snap/none: No such file or directory 1148s ok 2 /portal-support/snap/none 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/runtime 1148s # Created snap.yaml in /tmp/test_portal-support-snap_DODE22/meta/snap.yaml 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/all/.dirs/runtime/snapctl 1148s Unable to clean up temporary directory /tmp/test_portal-support-snap_DODE22/portal-support/snap/all: No such file or directory 1148s ok 3 /portal-support/snap/all 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/runtime 1148s # Created snap.yaml in /tmp/test_portal-support-snap_DODE22/meta/snap.yaml 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1148s Unable to clean up temporary directory /tmp/test_portal-support-snap_DODE22/portal-support/snap/desktop-only: No such file or directory 1148s ok 4 /portal-support/snap/desktop-only 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/runtime 1148s # Created snap.yaml in /tmp/test_portal-support-snap_DODE22/meta/snap.yaml 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only/.dirs/runtime/snapctl 1148s Unable to clean up temporary directory /tmp/test_portal-support-snap_DODE22/portal-support/snap/network-only: No such file or directory 1148s ok 5 /portal-support/snap/network-only 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/runtime 1148s # Created snap.yaml in /tmp/test_portal-support-snap_DODE22/meta/snap.yaml 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1148s Unable to clean up temporary directory /tmp/test_portal-support-snap_DODE22/portal-support/snap/gsettings-only: No such file or directory 1148s ok 6 /portal-support/snap/gsettings-only 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/runtime 1148s # Created snap.yaml in /tmp/test_portal-support-snap_DODE22/meta/snap.yaml 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1148s # Created snapctl in /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1148s Unable to clean up temporary directory /tmp/test_portal-support-snap_DODE22/portal-support/snap/updates-dynamically: No such file or directory 1148s ok 7 /portal-support/snap/updates-dynamically 1148s # End of snap tests 1148s # End of portal-support tests 1148s Unable to clean up temporary directory /tmp/test_portal-support-snap_DODE22: No such file or directory 1148s ok - glib/portal-support-snap.test 1148s # Running test: glib/environment.test 1148s TAP version 14 1148s # random seed: R02S282da4551b09fc4f606c1eb328be9a32 1148s 1..6 1148s # Start of environ tests 1148s # /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. 1148s ok 1 /environ/listenv 1148s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1148s ok 2 /environ/getenv 1148s ok 3 /environ/setenv 1148s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1148s ok 4 /environ/array 1148s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1148s ok 5 /environ/null 1148s # /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. 1148s ok 6 /environ/case 1148s # End of environ tests 1148s ok - glib/environment.test 1148s # Running test: glib/once.test 1148s TAP version 14 1148s # random seed: R02S014190427848d945c01b35b2279857ef 1148s 1..5 1148s # Start of once tests 1148s # /once/single-threaded summary: Test g_once() usage from a single thread 1148s ok 1 /once/single-threaded 1148s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1148s ok 2 /once/multi-threaded 1148s # End of once tests 1148s # Start of once-init tests 1148s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1148s ok 3 /once-init/single-threaded 1148s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1148s ok 4 /once-init/multi-threaded 1148s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1148s ok 5 /once-init/string 1148s # End of once-init tests 1148s ok - glib/once.test 1148s # Running test: glib/thread-deprecated.test 1148s TAP version 14 1148s # random seed: R02Sc112a05b25522c408ef17aa01f27804a 1148s 1..6 1148s # Start of thread tests 1148s ok 1 /thread/mutex 1148s ok 2 /thread/static-rec-mutex 1149s # Executing: glib/thread-deprecated.test 1153s ok 3 /thread/static-private 1153s # slow test /thread/static-private executed in 4.40 secs 1154s # Executing: glib/thread-deprecated.test 1158s ok 4 /thread/static-rw-lock 1158s # slow test /thread/static-rw-lock executed in 5.00 secs 1158s ok 5 /thread/once 1159s # Executing: glib/thread-deprecated.test 1164s # Executing: glib/thread-deprecated.test 1168s ok 6 /thread/rerun-all 1168s # slow test /thread/rerun-all executed in 10.02 secs 1168s # End of thread tests 1168s ok - glib/thread-deprecated.test 1168s # Running test: glib/overflow.test 1168s TAP version 14 1168s # random seed: R02S8d1ebc747332bb14c08a001d341c1899 1168s 1..6 1168s # Start of glib tests 1168s # Start of checked-math tests 1168s ok 1 /glib/checked-math/guint-add 1168s ok 2 /glib/checked-math/guint-mul 1168s ok 3 /glib/checked-math/guint64-add 1168s ok 4 /glib/checked-math/guint64-mul 1168s ok 5 /glib/checked-math/gsize-add 1168s ok 6 /glib/checked-math/gsize-mul 1168s # End of checked-math tests 1168s # End of glib tests 1168s ok - glib/overflow.test 1168s # Running test: glib/markup-parse.test 1168s TAP version 14 1168s # random seed: R02Sd57840c30dd0dc79ea38c54ffa4557f8 1168s 1..71 1168s # Start of markup tests 1168s # Start of parse tests 1168s ok 1 /markup/parse/fail-46.gmarkup 1168s ok 2 /markup/parse/fail-5.gmarkup 1168s ok 3 /markup/parse/fail-15.gmarkup 1168s ok 4 /markup/parse/fail-39.gmarkup 1168s ok 5 /markup/parse/fail-38.gmarkup 1168s ok 6 /markup/parse/fail-48.gmarkup 1168s ok 7 /markup/parse/valid-6.gmarkup 1168s ok 8 /markup/parse/fail-25.gmarkup 1168s ok 9 /markup/parse/fail-40.gmarkup 1168s ok 10 /markup/parse/fail-2.gmarkup 1168s ok 11 /markup/parse/valid-11.gmarkup 1168s ok 12 /markup/parse/fail-10.gmarkup 1168s ok 13 /markup/parse/fail-50.gmarkup 1168s ok 14 /markup/parse/fail-3.gmarkup 1168s ok 15 /markup/parse/fail-33.gmarkup 1168s ok 16 /markup/parse/fail-32.gmarkup 1168s ok 17 /markup/parse/fail-22.gmarkup 1168s ok 18 /markup/parse/valid-10.gmarkup 1168s ok 19 /markup/parse/fail-14.gmarkup 1168s ok 20 /markup/parse/fail-27.gmarkup 1168s ok 21 /markup/parse/fail-36.gmarkup 1168s ok 22 /markup/parse/fail-35.gmarkup 1168s ok 23 /markup/parse/fail-34.gmarkup 1168s ok 24 /markup/parse/fail-1.gmarkup 1168s ok 25 /markup/parse/valid-17.gmarkup 1168s ok 26 /markup/parse/fail-12.gmarkup 1168s ok 27 /markup/parse/fail-52.gmarkup 1168s ok 28 /markup/parse/fail-31.gmarkup 1168s ok 29 /markup/parse/valid-15.gmarkup 1168s ok 30 /markup/parse/fail-49.gmarkup 1168s ok 31 /markup/parse/fail-54.gmarkup 1168s ok 32 /markup/parse/fail-23.gmarkup 1168s ok 33 /markup/parse/fail-53.gmarkup 1168s ok 34 /markup/parse/fail-51.gmarkup 1168s ok 35 /markup/parse/fail-47.gmarkup 1168s ok 36 /markup/parse/fail-20.gmarkup 1168s ok 37 /markup/parse/fail-21.gmarkup 1168s ok 38 /markup/parse/valid-2.gmarkup 1168s ok 39 /markup/parse/fail-30.gmarkup 1168s ok 40 /markup/parse/fail-41.gmarkup 1168s ok 41 /markup/parse/valid-4.gmarkup 1168s ok 42 /markup/parse/fail-7.gmarkup 1168s ok 43 /markup/parse/fail-42.gmarkup 1168s ok 44 /markup/parse/fail-44.gmarkup 1168s ok 45 /markup/parse/valid-3.gmarkup 1168s ok 46 /markup/parse/valid-16.gmarkup 1168s ok 47 /markup/parse/fail-4.gmarkup 1168s ok 48 /markup/parse/valid-8.gmarkup 1168s ok 49 /markup/parse/fail-16.gmarkup 1168s ok 50 /markup/parse/fail-9.gmarkup 1168s ok 51 /markup/parse/fail-45.gmarkup 1168s ok 52 /markup/parse/valid-12.gmarkup 1168s ok 53 /markup/parse/fail-11.gmarkup 1168s ok 54 /markup/parse/fail-37.gmarkup 1168s ok 55 /markup/parse/fail-43.gmarkup 1168s ok 56 /markup/parse/fail-24.gmarkup 1168s ok 57 /markup/parse/fail-18.gmarkup 1168s ok 58 /markup/parse/valid-5.gmarkup 1168s ok 59 /markup/parse/fail-6.gmarkup 1168s ok 60 /markup/parse/fail-26.gmarkup 1168s ok 61 /markup/parse/valid-9.gmarkup 1168s ok 62 /markup/parse/fail-8.gmarkup 1168s ok 63 /markup/parse/fail-28.gmarkup 1168s ok 64 /markup/parse/valid-14.gmarkup 1168s ok 65 /markup/parse/fail-17.gmarkup 1168s ok 66 /markup/parse/fail-19.gmarkup 1168s ok 67 /markup/parse/valid-1.gmarkup 1168s ok 68 /markup/parse/valid-13.gmarkup 1168s ok 69 /markup/parse/fail-13.gmarkup 1168s ok 70 /markup/parse/valid-7.gmarkup 1168s ok 71 /markup/parse/fail-29.gmarkup 1168s # End of parse tests 1168s # End of markup tests 1168s ok - glib/markup-parse.test 1168s # Running test: glib/memory-settings-backend.test 1168s TAP version 14 1168s # random seed: R02Se9bdadc83a64bd8a90c0c62eb1873ac2 1168s 1..1 1168s # Start of memory-settings-backend tests 1168s ok 1 /memory-settings-backend/extension-point-registered 1168s # End of memory-settings-backend tests 1168s ok - glib/memory-settings-backend.test 1168s # Running test: glib/messages-low-memory.py.test 1168s TAP version 13 1168s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1168s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1168s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1168s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Return code: -6 1168s # Output: 1168s # Error: GLib-Message: 21:57:36.400: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1168s # GLib-Message: 21:57:36.400: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1168s # ../../../glib/gprintf.c:350: failed to allocate memory 1168s 1..1 1168s ok - glib/messages-low-memory.py.test 1168s # Running test: glib/static-link.test 1168s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1168s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1168s and make sure you have glib build dependencies installed, including 1168s meson. 1168s ok # SKIP - glib/static-link.test 1168s # Running test: glib/mkenums.py.test 1168s TAP version 13 1168s ok 1 __main__.TestMkenums.test_available_in 1168s # tmpdir: /tmp/tmppf9ei_2m 1168s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1168s # /tmp/tmppf9ei_2m/tmpz9wnf01x.h: 1168s # typedef enum { 1168s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1168s # } GDBusServerFlags; 1168s # 1168s # /tmp/tmppf9ei_2m/tmphktegkt9.template: 1168s # /*** BEGIN file-header ***/ 1168s # file-header 1168s # /*** END file-header ***/ 1168s # 1168s # /*** BEGIN file-production ***/ 1168s # file-production 1168s # filename: @filename@ 1168s # basename: @basename@ 1168s # /*** END file-production ***/ 1168s # 1168s # /*** BEGIN enumeration-production ***/ 1168s # enumeration-production 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END enumeration-production ***/ 1168s # 1168s # /*** BEGIN value-header ***/ 1168s # value-header 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-header ***/ 1168s # 1168s # /*** BEGIN value-production ***/ 1168s # value-production 1168s # VALUENAME: @VALUENAME@ 1168s # valuenick: @valuenick@ 1168s # valuenum: @valuenum@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-production ***/ 1168s # 1168s # /*** BEGIN value-tail ***/ 1168s # value-tail 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-tail ***/ 1168s # 1168s # /*** BEGIN comment ***/ 1168s # comment 1168s # comment: @comment@ 1168s # /*** END comment ***/ 1168s # 1168s # /*** BEGIN file-tail ***/ 1168s # file-tail 1168s # /*** END file-tail ***/ 1168s # 1168s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppf9ei_2m/tmphktegkt9.template', '/tmp/tmppf9ei_2m/tmpz9wnf01x.h'] 1168s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Output: comment 1168s # 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. 1168s # 1168s # 1168s # file-header 1168s # file-production 1168s # filename: /tmp/tmppf9ei_2m/tmpz9wnf01x.h 1168s # basename: tmpz9wnf01x.h 1168s # enumeration-production 1168s # EnumName: GDBusServerFlags 1168s # enum_name: g_dbus_server_flags 1168s # ENUMNAME: G_DBUS_SERVER_FLAGS 1168s # ENUMSHORT: DBUS_SERVER_FLAGS 1168s # ENUMPREFIX: G 1168s # enumsince: 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # value-header 1168s # EnumName: GDBusServerFlags 1168s # enum_name: g_dbus_server_flags 1168s # ENUMNAME: G_DBUS_SERVER_FLAGS 1168s # ENUMSHORT: DBUS_SERVER_FLAGS 1168s # ENUMPREFIX: G 1168s # enumsince: 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # value-production 1168s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1168s # valuenick: user 1168s # valuenum: 4 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # value-tail 1168s # EnumName: GDBusServerFlags 1168s # enum_name: g_dbus_server_flags 1168s # ENUMNAME: G_DBUS_SERVER_FLAGS 1168s # ENUMSHORT: DBUS_SERVER_FLAGS 1168s # ENUMPREFIX: G 1168s # enumsince: 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # file-tail 1168s # 1168s # comment 1168s # comment: Generated data ends here 1168s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1168s # tmpdir: /tmp/tmpmn6j054j 1168s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1168s # /tmp/tmpmn6j054j/tmpx1hwq11s.h: 1168s # typedef enum { 1168s # ENUM_VALUE_WITH_COMMA = ',', 1168s # } TestCommaEnum; 1168s # 1168s # /tmp/tmpmn6j054j/tmpuvko8bc9.template: 1168s # /*** BEGIN file-header ***/ 1168s # file-header 1168s # /*** END file-header ***/ 1168s # 1168s # /*** BEGIN file-production ***/ 1168s # file-production 1168s # filename: @filename@ 1168s # basename: @basename@ 1168s # /*** END file-production ***/ 1168s # 1168s # /*** BEGIN enumeration-production ***/ 1168s # enumeration-production 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END enumeration-production ***/ 1168s # 1168s # /*** BEGIN value-header ***/ 1168s # value-header 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-header ***/ 1168s # 1168s # /*** BEGIN value-production ***/ 1168s # value-production 1168s # VALUENAME: @VALUENAME@ 1168s # valuenick: @valuenick@ 1168s # valuenum: @valuenum@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-production ***/ 1168s # 1168s # /*** BEGIN value-tail ***/ 1168s # value-tail 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-tail ***/ 1168s # 1168s # /*** BEGIN comment ***/ 1168s # comment 1168s # comment: @comment@ 1168s # /*** END comment ***/ 1168s # 1168s # /*** BEGIN file-tail ***/ 1168s # file-tail 1168s # /*** END file-tail ***/ 1168s # 1168s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmn6j054j/tmpuvko8bc9.template', '/tmp/tmpmn6j054j/tmpx1hwq11s.h'] 1168s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Output: comment 1168s # 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. 1168s # 1168s # 1168s # file-header 1168s # file-production 1168s # filename: /tmp/tmpmn6j054j/tmpx1hwq11s.h 1168s # basename: tmpx1hwq11s.h 1168s # enumeration-production 1168s # EnumName: TestCommaEnum 1168s # enum_name: test_comma_enum 1168s # ENUMNAME: TEST_COMMA_ENUM 1168s # ENUMSHORT: COMMA_ENUM 1168s # ENUMPREFIX: TEST 1168s # enumsince: 1168s # type: enum 1168s # Type: Enum 1168s # TYPE: ENUM 1168s # value-header 1168s # EnumName: TestCommaEnum 1168s # enum_name: test_comma_enum 1168s # ENUMNAME: TEST_COMMA_ENUM 1168s # ENUMSHORT: COMMA_ENUM 1168s # ENUMPREFIX: TEST 1168s # enumsince: 1168s # type: enum 1168s # Type: Enum 1168s # TYPE: ENUM 1168s # value-production 1168s # VALUENAME: ENUM_VALUE_WITH_COMMA 1168s # valuenick: comma 1168s # valuenum: 44 1168s # type: enum 1168s # Type: Enum 1168s # TYPE: ENUM 1168s # value-tail 1168s # EnumName: TestCommaEnum 1168s # enum_name: test_comma_enum 1168s # ENUMNAME: TEST_COMMA_ENUM 1168s # ENUMSHORT: COMMA_ENUM 1168s # ENUMPREFIX: TEST 1168s # enumsince: 1168s # type: enum 1168s # Type: Enum 1168s # TYPE: ENUM 1168s # file-tail 1168s # 1168s # comment 1168s # comment: Generated data ends here 1168s ok 3 __main__.TestMkenums.test_deprecated_in 1168s # tmpdir: /tmp/tmpvlmlbsfb 1168s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1168s # /tmp/tmpvlmlbsfb/tmpqua7gme6.h: 1168s # typedef enum { 1168s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1168s # } GDBusServerFlags; 1168s # 1168s # /tmp/tmpvlmlbsfb/tmp42qp_ffl.template: 1168s # /*** BEGIN file-header ***/ 1168s # file-header 1168s # /*** END file-header ***/ 1168s # 1168s # /*** BEGIN file-production ***/ 1168s # file-production 1168s # filename: @filename@ 1168s # basename: @basename@ 1168s # /*** END file-production ***/ 1168s # 1168s # /*** BEGIN enumeration-production ***/ 1168s # enumeration-production 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END enumeration-production ***/ 1168s # 1168s # /*** BEGIN value-header ***/ 1168s # value-header 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-header ***/ 1168s # 1168s # /*** BEGIN value-production ***/ 1168s # value-production 1168s # VALUENAME: @VALUENAME@ 1168s # valuenick: @valuenick@ 1168s # valuenum: @valuenum@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-production ***/ 1168s # 1168s # /*** BEGIN value-tail ***/ 1168s # value-tail 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-tail ***/ 1168s # 1168s # /*** BEGIN comment ***/ 1168s # comment 1168s # comment: @comment@ 1168s # /*** END comment ***/ 1168s # 1168s # /*** BEGIN file-tail ***/ 1168s # file-tail 1168s # /*** END file-tail ***/ 1168s # 1168s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvlmlbsfb/tmp42qp_ffl.template', '/tmp/tmpvlmlbsfb/tmpqua7gme6.h'] 1168s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Output: comment 1168s # 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. 1168s # 1168s # 1168s # file-header 1168s # file-production 1168s # filename: /tmp/tmpvlmlbsfb/tmpqua7gme6.h 1168s # basename: tmpqua7gme6.h 1168s # enumeration-production 1168s # EnumName: GDBusServerFlags 1168s # enum_name: g_dbus_server_flags 1168s # ENUMNAME: G_DBUS_SERVER_FLAGS 1168s # ENUMSHORT: DBUS_SERVER_FLAGS 1168s # ENUMPREFIX: G 1168s # enumsince: 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # value-header 1168s # EnumName: GDBusServerFlags 1168s # enum_name: g_dbus_server_flags 1168s # ENUMNAME: G_DBUS_SERVER_FLAGS 1168s # ENUMSHORT: DBUS_SERVER_FLAGS 1168s # ENUMPREFIX: G 1168s # enumsince: 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # value-production 1168s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1168s # valuenick: user 1168s # valuenum: 4 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # value-tail 1168s # EnumName: GDBusServerFlags 1168s # enum_name: g_dbus_server_flags 1168s # ENUMNAME: G_DBUS_SERVER_FLAGS 1168s # ENUMSHORT: DBUS_SERVER_FLAGS 1168s # ENUMPREFIX: G 1168s # enumsince: 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # file-tail 1168s # 1168s # comment 1168s # comment: Generated data ends here 1168s ok 4 __main__.TestMkenums.test_deprecated_in_for 1168s # tmpdir: /tmp/tmpux7bwf4d 1168s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1168s # /tmp/tmpux7bwf4d/tmp2ymflvsw.h: 1168s # typedef enum { 1168s # 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) 1168s # } GDBusServerFlags; 1168s # 1168s # /tmp/tmpux7bwf4d/tmpyfot48fq.template: 1168s # /*** BEGIN file-header ***/ 1168s # file-header 1168s # /*** END file-header ***/ 1168s # 1168s # /*** BEGIN file-production ***/ 1168s # file-production 1168s # filename: @filename@ 1168s # basename: @basename@ 1168s # /*** END file-production ***/ 1168s # 1168s # /*** BEGIN enumeration-production ***/ 1168s # enumeration-production 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END enumeration-production ***/ 1168s # 1168s # /*** BEGIN value-header ***/ 1168s # value-header 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-header ***/ 1168s # 1168s # /*** BEGIN value-production ***/ 1168s # value-production 1168s # VALUENAME: @VALUENAME@ 1168s # valuenick: @valuenick@ 1168s # valuenum: @valuenum@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-production ***/ 1168s # 1168s # /*** BEGIN value-tail ***/ 1168s # value-tail 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-tail ***/ 1168s # 1168s # /*** BEGIN comment ***/ 1168s # comment 1168s # comment: @comment@ 1168s # /*** END comment ***/ 1168s # 1168s # /*** BEGIN file-tail ***/ 1168s # file-tail 1168s # /*** END file-tail ***/ 1168s # 1168s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpux7bwf4d/tmpyfot48fq.template', '/tmp/tmpux7bwf4d/tmp2ymflvsw.h'] 1168s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Output: comment 1168s # 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. 1168s # 1168s # 1168s # file-header 1168s # file-production 1168s # filename: /tmp/tmpux7bwf4d/tmp2ymflvsw.h 1168s # basename: tmp2ymflvsw.h 1168s # enumeration-production 1168s # EnumName: GDBusServerFlags 1168s # enum_name: g_dbus_server_flags 1168s # ENUMNAME: G_DBUS_SERVER_FLAGS 1168s # ENUMSHORT: DBUS_SERVER_FLAGS 1168s # ENUMPREFIX: G 1168s # enumsince: 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # value-header 1168s # EnumName: GDBusServerFlags 1168s # enum_name: g_dbus_server_flags 1168s # ENUMNAME: G_DBUS_SERVER_FLAGS 1168s # ENUMSHORT: DBUS_SERVER_FLAGS 1168s # ENUMPREFIX: G 1168s # enumsince: 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # value-production 1168s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1168s # valuenick: user 1168s # valuenum: 4 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # value-tail 1168s # EnumName: GDBusServerFlags 1168s # enum_name: g_dbus_server_flags 1168s # ENUMNAME: G_DBUS_SERVER_FLAGS 1168s # ENUMSHORT: DBUS_SERVER_FLAGS 1168s # ENUMPREFIX: G 1168s # enumsince: 1168s # type: flags 1168s # Type: Flags 1168s # TYPE: FLAGS 1168s # file-tail 1168s # 1168s # comment 1168s # comment: Generated data ends here 1168s ok 5 __main__.TestMkenums.test_empty_header 1168s # tmpdir: /tmp/tmp08coa7le 1168s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1168s # /tmp/tmp08coa7le/tmpfgeqb5jw.h: 1168s # /tmp/tmp08coa7le/tmpb2_uo75q.template: 1168s # /*** BEGIN file-header ***/ 1168s # file-header 1168s # /*** END file-header ***/ 1168s # 1168s # /*** BEGIN file-production ***/ 1168s # file-production 1168s # filename: @filename@ 1168s # basename: @basename@ 1168s # /*** END file-production ***/ 1168s # 1168s # /*** BEGIN enumeration-production ***/ 1168s # enumeration-production 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END enumeration-production ***/ 1168s # 1168s # /*** BEGIN value-header ***/ 1168s # value-header 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-header ***/ 1168s # 1168s # /*** BEGIN value-production ***/ 1168s # value-production 1168s # VALUENAME: @VALUENAME@ 1168s # valuenick: @valuenick@ 1168s # valuenum: @valuenum@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-production ***/ 1168s # 1168s # /*** BEGIN value-tail ***/ 1168s # value-tail 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-tail ***/ 1168s # 1168s # /*** BEGIN comment ***/ 1168s # comment 1168s # comment: @comment@ 1168s # /*** END comment ***/ 1168s # 1168s # /*** BEGIN file-tail ***/ 1168s # file-tail 1168s # /*** END file-tail ***/ 1168s # 1168s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp08coa7le/tmpb2_uo75q.template', '/tmp/tmp08coa7le/tmpfgeqb5jw.h'] 1168s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Output: comment 1168s # 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. 1168s # 1168s # 1168s # file-header 1168s # file-tail 1168s # 1168s # comment 1168s # comment: Generated data ends here 1168s ok 6 __main__.TestMkenums.test_empty_template 1168s # tmpdir: /tmp/tmpww6p8ljz 1168s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1168s # /tmp/tmpww6p8ljz/tmpz5j3es96.template: 1168s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpww6p8ljz/tmpz5j3es96.template'] 1168s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # 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. */ 1168s # 1168s # 1168s # /* Generated data ends here */ 1168s ok 7 __main__.TestMkenums.test_enum_name 1168s # tmpdir: /tmp/tmphoz092jq 1168s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1168s # /tmp/tmphoz092jq/tmpafz82j1c.h: 1168s # typedef enum _SomeEnumIdentifier { 1168s # ENUM_VALUE 1168s # } SomeEnumIdentifier; 1168s # 1168s # /tmp/tmphoz092jq/tmp95tyg6pj.template: 1168s # /*** BEGIN file-header ***/ 1168s # file-header 1168s # /*** END file-header ***/ 1168s # 1168s # /*** BEGIN file-production ***/ 1168s # file-production 1168s # filename: @filename@ 1168s # basename: @basename@ 1168s # /*** END file-production ***/ 1168s # 1168s # /*** BEGIN enumeration-production ***/ 1168s # enumeration-production 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END enumeration-production ***/ 1168s # 1168s # /*** BEGIN value-header ***/ 1168s # value-header 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-header ***/ 1168s # 1168s # /*** BEGIN value-production ***/ 1168s # value-production 1168s # VALUENAME: @VALUENAME@ 1168s # valuenick: @valuenick@ 1168s # valuenum: @valuenum@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-production ***/ 1168s # 1168s # /*** BEGIN value-tail ***/ 1168s # value-tail 1168s # EnumName: @EnumName@ 1168s # enum_name: @enum_name@ 1168s # ENUMNAME: @ENUMNAME@ 1168s # ENUMSHORT: @ENUMSHORT@ 1168s # ENUMPREFIX: @ENUMPREFIX@ 1168s # enumsince: @enumsince@ 1168s # type: @type@ 1168s # Type: @Type@ 1168s # TYPE: @TYPE@ 1168s # /*** END value-tail ***/ 1168s # 1168s # /*** BEGIN comment ***/ 1168s # comment 1168s # comment: @comment@ 1168s # /*** END comment ***/ 1168s # 1168s # /*** BEGIN file-tail ***/ 1168s # file-tail 1168s # /*** END file-tail ***/ 1168s # 1168s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphoz092jq/tmp95tyg6pj.template', '/tmp/tmphoz092jq/tmpafz82j1c.h'] 1168s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1168s # Output: comment 1168s # 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. 1168s # 1168s # 1168s # file-header 1168s # file-production 1168s # filename: /tmp/tmphoz092jq/tmpafz82j1c.h 1168s # basename: tmpafz82j1c.h 1168s # enumeration-production 1168s # EnumName: SomeEnumIdentifier 1168s # enum_name: some_enum_identifier 1168s # ENUMNAME: SOME_ENUM_IDENTIFIER 1168s # ENUMSHORT: ENUM_IDENTIFIER 1168s # ENUMPREFIX: SOME 1168s # enumsince: 1168s # type: enum 1168s # Type: Enum 1168s # TYPE: ENUM 1168s # value-header 1168s # EnumName: SomeEnumIdentifier 1168s # enum_name: some_enum_identifier 1168s # ENUMNAME: SOME_ENUM_IDENTIFIER 1168s # ENUMSHORT: ENUM_IDENTIFIER 1168s # ENUMPREFIX: SOME 1168s # enumsince: 1168s # type: enum 1168s # Type: Enum 1168s # TYPE: ENUM 1168s # value-production 1168s # VALUENAME: ENUM_VALUE 1168s # valuenick: value 1168s # valuenum: 0 1168s # type: enum 1168s # Type: Enum 1168s # TYPE: ENUM 1168s # value-tail 1168s # EnumName: SomeEnumIdentifier 1168s # enum_name: some_enum_identifier 1168s # ENUMNAME: SOME_ENUM_IDENTIFIER 1168s # ENUMSHORT: ENUM_IDENTIFIER 1168s # ENUMPREFIX: SOME 1168s # enumsince: 1168s # type: enum 1168s # Type: Enum 1168s # TYPE: ENUM 1168s # file-tail 1168s # 1168s # comment 1168s # comment: Generated data ends here 1169s ok 8 __main__.TestMkenums.test_enum_private_public 1169s # tmpdir: /tmp/tmp9y2mk14n 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmp9y2mk14n/tmp5c_ttrmr.h: 1169s # typedef enum { 1169s # ENUM_VALUE_PUBLIC1, 1169s # /*< private >*/ 1169s # ENUM_VALUE_PRIVATE, 1169s # } SomeEnumA 1169s # 1169s # /tmp/tmp9y2mk14n/tmpl8m6qt1q.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9y2mk14n/tmpl8m6qt1q.template', '/tmp/tmp9y2mk14n/tmp5c_ttrmr.h'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmp9y2mk14n/tmp5c_ttrmr.h 1169s # basename: tmp5c_ttrmr.h 1169s # enumeration-production 1169s # EnumName: SomeEnumA 1169s # enum_name: some_enum_a 1169s # ENUMNAME: SOME_ENUM_A 1169s # ENUMSHORT: ENUM_A 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-header 1169s # EnumName: SomeEnumA 1169s # enum_name: some_enum_a 1169s # ENUMNAME: SOME_ENUM_A 1169s # ENUMSHORT: ENUM_A 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-production 1169s # VALUENAME: ENUM_VALUE_PUBLIC1 1169s # valuenick: public1 1169s # valuenum: 0 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-tail 1169s # EnumName: SomeEnumA 1169s # enum_name: some_enum_a 1169s # ENUMNAME: SOME_ENUM_A 1169s # ENUMSHORT: ENUM_A 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s # /tmp/tmp9y2mk14n/tmphrm9zrx9.h: 1169s # typedef enum { 1169s # /*< private >*/ 1169s # ENUM_VALUE_PRIVATE, 1169s # /*< public >*/ 1169s # ENUM_VALUE_PUBLIC2, 1169s # } SomeEnumB; 1169s # 1169s # /tmp/tmp9y2mk14n/tmpl12c58rl.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9y2mk14n/tmpl12c58rl.template', '/tmp/tmp9y2mk14n/tmphrm9zrx9.h'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmp9y2mk14n/tmphrm9zrx9.h 1169s # basename: tmphrm9zrx9.h 1169s # enumeration-production 1169s # EnumName: SomeEnumB 1169s # enum_name: some_enum_b 1169s # ENUMNAME: SOME_ENUM_B 1169s # ENUMSHORT: ENUM_B 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-header 1169s # EnumName: SomeEnumB 1169s # enum_name: some_enum_b 1169s # ENUMNAME: SOME_ENUM_B 1169s # ENUMSHORT: ENUM_B 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-production 1169s # VALUENAME: ENUM_VALUE_PUBLIC2 1169s # valuenick: public2 1169s # valuenum: 1 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-tail 1169s # EnumName: SomeEnumB 1169s # enum_name: some_enum_b 1169s # ENUMNAME: SOME_ENUM_B 1169s # ENUMSHORT: ENUM_B 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1169s # tmpdir: /tmp/tmpmxz1vzy2 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpmxz1vzy2/tmpyvykx6jz.h: 1169s # typedef enum { 1169s # /*< private >*/ 1169s # ENUM_VALUE_PRIVATE = 5, 1169s # /*< public >*/ 1169s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1169s # } TestSymbolicEnum; 1169s # 1169s # /tmp/tmpmxz1vzy2/tmpay5lwxhg.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmxz1vzy2/tmpay5lwxhg.template', '/tmp/tmpmxz1vzy2/tmpyvykx6jz.h'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmpmxz1vzy2/tmpyvykx6jz.h 1169s # basename: tmpyvykx6jz.h 1169s # enumeration-production 1169s # EnumName: TestSymbolicEnum 1169s # enum_name: test_symbolic_enum 1169s # ENUMNAME: TEST_SYMBOLIC_ENUM 1169s # ENUMSHORT: SYMBOLIC_ENUM 1169s # ENUMPREFIX: TEST 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-header 1169s # EnumName: TestSymbolicEnum 1169s # enum_name: test_symbolic_enum 1169s # ENUMNAME: TEST_SYMBOLIC_ENUM 1169s # ENUMSHORT: SYMBOLIC_ENUM 1169s # ENUMPREFIX: TEST 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-production 1169s # VALUENAME: ENUM_VALUE_PUBLIC 1169s # valuenick: public 1169s # valuenum: 7 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-tail 1169s # EnumName: TestSymbolicEnum 1169s # enum_name: test_symbolic_enum 1169s # ENUMNAME: TEST_SYMBOLIC_ENUM 1169s # ENUMSHORT: SYMBOLIC_ENUM 1169s # ENUMPREFIX: TEST 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1169s # tmpdir: /tmp/tmpgik09cng 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpgik09cng/tmp95jagevm.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-tail ***/ 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgik09cng/tmp95jagevm.template'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # file-tail 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 11 __main__.TestMkenums.test_help 1169s # tmpdir: /tmp/tmpl4sifgtk 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # Running: ['/usr/bin/glib-mkenums', '--help'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1169s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1169s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1169s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1169s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1169s # [--output OUTPUT] [--version] 1169s # [args ...] 1169s # 1169s # positional arguments: 1169s # args One or more input files, or a single argument 1169s # @rspfile_path pointing to a file that contains the 1169s # actual arguments 1169s # 1169s # options: 1169s # -h, --help show this help message and exit 1169s # --identifier-prefix IDPREFIX 1169s # Identifier prefix 1169s # --symbol-prefix SYMPREFIX 1169s # Symbol prefix 1169s # --fhead FHEAD Output file header 1169s # --ftail FTAIL Output file footer 1169s # --fprod FPROD Put out TEXT every time a new input file is being 1169s # processed. 1169s # --eprod EPROD Per enum text, produced prior to value iterations 1169s # --vhead VHEAD Value header, produced before iterating over enum 1169s # values 1169s # --vprod VPROD Value text, produced for each enum value. 1169s # --vtail VTAIL Value tail, produced after iterating over enum values 1169s # --comments COMMENT_TMPL 1169s # Comment structure 1169s # --template TEMPLATE Template file 1169s # --output OUTPUT 1169s # --version, -v Print version information 1169s # 1169s # Production text substitutions: 1169s # @EnumName@ PrefixTheXEnum 1169s # @enum_name@ prefix_the_xenum 1169s # @ENUMNAME@ PREFIX_THE_XENUM 1169s # @ENUMSHORT@ THE_XENUM 1169s # @ENUMPREFIX@ PREFIX 1169s # @enumsince@ the user-provided since value given 1169s # @VALUENAME@ PREFIX_THE_XVALUE 1169s # @valuenick@ the-xvalue 1169s # @valuenum@ the integer value (limited support, Since: 2.26) 1169s # @type@ either enum or flags 1169s # @Type@ either Enum or Flags 1169s # @TYPE@ either ENUM or FLAGS 1169s # @filename@ name of current input file 1169s # @basename@ base name of the current input file (Since: 2.22) 1169s ok 12 __main__.TestMkenums.test_no_args 1169s # tmpdir: /tmp/tmp5baf51la 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # Running: ['/usr/bin/glib-mkenums'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # 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. */ 1169s # 1169s # 1169s # /* Generated data ends here */ 1169s ok 13 __main__.TestMkenums.test_no_headers 1169s # tmpdir: /tmp/tmpjug5op_q 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpjug5op_q/tmpxs47zmm5.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjug5op_q/tmpxs47zmm5.template'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 14 __main__.TestMkenums.test_no_nick 1169s # tmpdir: /tmp/tmpvx6jppg1 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpvx6jppg1/tmp77ctfttb.h: 1169s # typedef enum { 1169s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1169s # } GeglSamplerType; 1169s # 1169s # /tmp/tmpvx6jppg1/tmpnxhf2_pb.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvx6jppg1/tmpnxhf2_pb.template', '/tmp/tmpvx6jppg1/tmp77ctfttb.h'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmpvx6jppg1/tmp77ctfttb.h 1169s # basename: tmp77ctfttb.h 1169s # enumeration-production 1169s # EnumName: GeglSamplerType 1169s # enum_name: gegl_sampler_type 1169s # ENUMNAME: GEGL_SAMPLER_TYPE 1169s # ENUMSHORT: SAMPLER_TYPE 1169s # ENUMPREFIX: GEGL 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-header 1169s # EnumName: GeglSamplerType 1169s # enum_name: gegl_sampler_type 1169s # ENUMNAME: GEGL_SAMPLER_TYPE 1169s # ENUMSHORT: SAMPLER_TYPE 1169s # ENUMPREFIX: GEGL 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-production 1169s # VALUENAME: GEGL_SAMPLER_NEAREST 1169s # valuenick: nearest 1169s # valuenum: 0 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-tail 1169s # EnumName: GeglSamplerType 1169s # enum_name: gegl_sampler_type 1169s # ENUMNAME: GEGL_SAMPLER_TYPE 1169s # ENUMSHORT: SAMPLER_TYPE 1169s # ENUMPREFIX: GEGL 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1169s # tmpdir: /tmp/tmp8i2i_ht8 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmp8i2i_ht8/tmp1ehg4n_x.h: 1169s # /* Copyright © La Peña */ 1169s # typedef enum { 1169s # ENUM_VALUE 1169s # } SomeEnumIdentifier; 1169s # 1169s # /tmp/tmp8i2i_ht8/tmphayzlo2_.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8i2i_ht8/tmphayzlo2_.template', '/tmp/tmp8i2i_ht8/tmp1ehg4n_x.h'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmp8i2i_ht8/tmp1ehg4n_x.h 1169s # basename: tmp1ehg4n_x.h 1169s # enumeration-production 1169s # EnumName: SomeEnumIdentifier 1169s # enum_name: some_enum_identifier 1169s # ENUMNAME: SOME_ENUM_IDENTIFIER 1169s # ENUMSHORT: ENUM_IDENTIFIER 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-header 1169s # EnumName: SomeEnumIdentifier 1169s # enum_name: some_enum_identifier 1169s # ENUMNAME: SOME_ENUM_IDENTIFIER 1169s # ENUMSHORT: ENUM_IDENTIFIER 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-production 1169s # VALUENAME: ENUM_VALUE 1169s # valuenick: value 1169s # valuenum: 0 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-tail 1169s # EnumName: SomeEnumIdentifier 1169s # enum_name: some_enum_identifier 1169s # ENUMNAME: SOME_ENUM_IDENTIFIER 1169s # ENUMSHORT: ENUM_IDENTIFIER 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 16 __main__.TestMkenums.test_reproducible 1169s # tmpdir: /tmp/tmpniz7z_ti 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpniz7z_ti/tmpkdbmkuzc.template: template 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpniz7z_ti/tmpkdbmkuzc.template', '/tmp/tmpniz7z_ti/tmpbzggwnpv1.h', '/tmp/tmpniz7z_ti/tmpnixmzwg82.h'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # 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. */ 1169s # 1169s # 1169s # /* Generated data ends here */ 1169s # /tmp/tmpniz7z_ti/tmpl1vy_cln.template: template 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpniz7z_ti/tmpl1vy_cln.template', '/tmp/tmpniz7z_ti/tmpnixmzwg82.h', '/tmp/tmpniz7z_ti/tmpbzggwnpv1.h'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # 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. */ 1169s # 1169s # 1169s # /* Generated data ends here */ 1169s ok 17 __main__.TestMkenums.test_since 1169s # tmpdir: /tmp/tmp6vzjpprq 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmp6vzjpprq/tmpfzbqi1f4.h: 1169s # typedef enum { /*< since=1.0 >*/ 1169s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1169s # } QmiWmsMessageProtocol; 1169s # 1169s # /tmp/tmp6vzjpprq/tmpkcwd1y_p.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6vzjpprq/tmpkcwd1y_p.template', '/tmp/tmp6vzjpprq/tmpfzbqi1f4.h'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmp6vzjpprq/tmpfzbqi1f4.h 1169s # basename: tmpfzbqi1f4.h 1169s # enumeration-production 1169s # EnumName: QmiWmsMessageProtocol 1169s # enum_name: qmi_wms_message_protocol 1169s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1169s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1169s # ENUMPREFIX: QMI 1169s # enumsince: 1.0 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-header 1169s # EnumName: QmiWmsMessageProtocol 1169s # enum_name: qmi_wms_message_protocol 1169s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1169s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1169s # ENUMPREFIX: QMI 1169s # enumsince: 1.0 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-production 1169s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1169s # valuenick: cdma 1169s # valuenum: 0 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-tail 1169s # EnumName: QmiWmsMessageProtocol 1169s # enum_name: qmi_wms_message_protocol 1169s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1169s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1169s # ENUMPREFIX: QMI 1169s # enumsince: 1.0 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 18 __main__.TestMkenums.test_with_double_quotes 1169s # tmpdir: /tmp/tmpr_wb5ruv 1169s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpr_wb5ruv/tmp6lgxd4f9.h: 1169s # typedef enum { 1169s # FOO_VALUE /*< nick="eek, a comma" >*/ 1169s # } Foo; 1169s # 1169s # /tmp/tmpr_wb5ruv/tmpvajdchye.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpr_wb5ruv/tmpvajdchye.template', '/tmp/tmpr_wb5ruv/tmp6lgxd4f9.h'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmpr_wb5ruv/tmp6lgxd4f9.h 1169s # basename: tmp6lgxd4f9.h 1169s # enumeration-production 1169s # EnumName: Foo 1169s # enum_name: foo_ 1169s # ENUMNAME: FOO_ 1169s # ENUMSHORT: 1169s # ENUMPREFIX: FOO 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-header 1169s # EnumName: Foo 1169s # enum_name: foo_ 1169s # ENUMNAME: FOO_ 1169s # ENUMSHORT: 1169s # ENUMPREFIX: FOO 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-production 1169s # VALUENAME: FOO_VALUE 1169s # valuenick: eek, a comma 1169s # valuenum: 0 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-tail 1169s # EnumName: Foo 1169s # enum_name: foo_ 1169s # ENUMNAME: FOO_ 1169s # ENUMSHORT: 1169s # ENUMPREFIX: FOO 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 19 __main__.TestRspMkenums.test_available_in 1169s # tmpdir: /tmp/tmpvpkhhp26 1169s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpvpkhhp26/tmpxqbgb59w.h: 1169s # typedef enum { 1169s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1169s # } GDBusServerFlags; 1169s # 1169s # /tmp/tmpvpkhhp26/tmpv0s7j4hb.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Response file contains: --template /tmp/tmpvpkhhp26/tmpv0s7j4hb.template /tmp/tmpvpkhhp26/tmpxqbgb59w.h 1169s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvpkhhp26/tmpsotb9en5'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmpvpkhhp26/tmpxqbgb59w.h 1169s # basename: tmpxqbgb59w.h 1169s # enumeration-production 1169s # EnumName: GDBusServerFlags 1169s # enum_name: g_dbus_server_flags 1169s # ENUMNAME: G_DBUS_SERVER_FLAGS 1169s # ENUMSHORT: DBUS_SERVER_FLAGS 1169s # ENUMPREFIX: G 1169s # enumsince: 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # value-header 1169s # EnumName: GDBusServerFlags 1169s # enum_name: g_dbus_server_flags 1169s # ENUMNAME: G_DBUS_SERVER_FLAGS 1169s # ENUMSHORT: DBUS_SERVER_FLAGS 1169s # ENUMPREFIX: G 1169s # enumsince: 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # value-production 1169s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1169s # valuenick: user 1169s # valuenum: 4 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # value-tail 1169s # EnumName: GDBusServerFlags 1169s # enum_name: g_dbus_server_flags 1169s # ENUMNAME: G_DBUS_SERVER_FLAGS 1169s # ENUMSHORT: DBUS_SERVER_FLAGS 1169s # ENUMPREFIX: G 1169s # enumsince: 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1169s # tmpdir: /tmp/tmp583k7fsc 1169s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmp583k7fsc/tmpgj7hegql.h: 1169s # typedef enum { 1169s # ENUM_VALUE_WITH_COMMA = ',', 1169s # } TestCommaEnum; 1169s # 1169s # /tmp/tmp583k7fsc/tmp42of45hv.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Response file contains: --template /tmp/tmp583k7fsc/tmp42of45hv.template /tmp/tmp583k7fsc/tmpgj7hegql.h 1169s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp583k7fsc/tmpwrac4nhr'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmp583k7fsc/tmpgj7hegql.h 1169s # basename: tmpgj7hegql.h 1169s # enumeration-production 1169s # EnumName: TestCommaEnum 1169s # enum_name: test_comma_enum 1169s # ENUMNAME: TEST_COMMA_ENUM 1169s # ENUMSHORT: COMMA_ENUM 1169s # ENUMPREFIX: TEST 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-header 1169s # EnumName: TestCommaEnum 1169s # enum_name: test_comma_enum 1169s # ENUMNAME: TEST_COMMA_ENUM 1169s # ENUMSHORT: COMMA_ENUM 1169s # ENUMPREFIX: TEST 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-production 1169s # VALUENAME: ENUM_VALUE_WITH_COMMA 1169s # valuenick: comma 1169s # valuenum: 44 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-tail 1169s # EnumName: TestCommaEnum 1169s # enum_name: test_comma_enum 1169s # ENUMNAME: TEST_COMMA_ENUM 1169s # ENUMSHORT: COMMA_ENUM 1169s # ENUMPREFIX: TEST 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 21 __main__.TestRspMkenums.test_deprecated_in 1169s # tmpdir: /tmp/tmp0cmvta5q 1169s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmp0cmvta5q/tmpkaxxtc8x.h: 1169s # typedef enum { 1169s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1169s # } GDBusServerFlags; 1169s # 1169s # /tmp/tmp0cmvta5q/tmp1r7n7_f2.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Response file contains: --template /tmp/tmp0cmvta5q/tmp1r7n7_f2.template /tmp/tmp0cmvta5q/tmpkaxxtc8x.h 1169s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0cmvta5q/tmp08zoubcj'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmp0cmvta5q/tmpkaxxtc8x.h 1169s # basename: tmpkaxxtc8x.h 1169s # enumeration-production 1169s # EnumName: GDBusServerFlags 1169s # enum_name: g_dbus_server_flags 1169s # ENUMNAME: G_DBUS_SERVER_FLAGS 1169s # ENUMSHORT: DBUS_SERVER_FLAGS 1169s # ENUMPREFIX: G 1169s # enumsince: 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # value-header 1169s # EnumName: GDBusServerFlags 1169s # enum_name: g_dbus_server_flags 1169s # ENUMNAME: G_DBUS_SERVER_FLAGS 1169s # ENUMSHORT: DBUS_SERVER_FLAGS 1169s # ENUMPREFIX: G 1169s # enumsince: 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # value-production 1169s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1169s # valuenick: user 1169s # valuenum: 4 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # value-tail 1169s # EnumName: GDBusServerFlags 1169s # enum_name: g_dbus_server_flags 1169s # ENUMNAME: G_DBUS_SERVER_FLAGS 1169s # ENUMSHORT: DBUS_SERVER_FLAGS 1169s # ENUMPREFIX: G 1169s # enumsince: 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1169s # tmpdir: /tmp/tmp9fp8kzij 1169s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmp9fp8kzij/tmpv3iw31fl.h: 1169s # typedef enum { 1169s # 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) 1169s # } GDBusServerFlags; 1169s # 1169s # /tmp/tmp9fp8kzij/tmp685ig9se.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Response file contains: --template /tmp/tmp9fp8kzij/tmp685ig9se.template /tmp/tmp9fp8kzij/tmpv3iw31fl.h 1169s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9fp8kzij/tmpx44zi46r'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmp9fp8kzij/tmpv3iw31fl.h 1169s # basename: tmpv3iw31fl.h 1169s # enumeration-production 1169s # EnumName: GDBusServerFlags 1169s # enum_name: g_dbus_server_flags 1169s # ENUMNAME: G_DBUS_SERVER_FLAGS 1169s # ENUMSHORT: DBUS_SERVER_FLAGS 1169s # ENUMPREFIX: G 1169s # enumsince: 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # value-header 1169s # EnumName: GDBusServerFlags 1169s # enum_name: g_dbus_server_flags 1169s # ENUMNAME: G_DBUS_SERVER_FLAGS 1169s # ENUMSHORT: DBUS_SERVER_FLAGS 1169s # ENUMPREFIX: G 1169s # enumsince: 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # value-production 1169s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1169s # valuenick: user 1169s # valuenum: 4 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # value-tail 1169s # EnumName: GDBusServerFlags 1169s # enum_name: g_dbus_server_flags 1169s # ENUMNAME: G_DBUS_SERVER_FLAGS 1169s # ENUMSHORT: DBUS_SERVER_FLAGS 1169s # ENUMPREFIX: G 1169s # enumsince: 1169s # type: flags 1169s # Type: Flags 1169s # TYPE: FLAGS 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 23 __main__.TestRspMkenums.test_empty_header 1169s # tmpdir: /tmp/tmpy107yb1t 1169s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpy107yb1t/tmpa5yqg3f4.h: 1169s # /tmp/tmpy107yb1t/tmpvg69jm_f.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Response file contains: --template /tmp/tmpy107yb1t/tmpvg69jm_f.template /tmp/tmpy107yb1t/tmpa5yqg3f4.h 1169s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy107yb1t/tmpft94vgeg'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1169s ok 24 __main__.TestRspMkenums.test_empty_template 1169s # tmpdir: /tmp/tmpqh9a11ao 1169s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpqh9a11ao/tmpxhvbzo_d.template: 1169s # Response file contains: --template /tmp/tmpqh9a11ao/tmpxhvbzo_d.template 1169s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqh9a11ao/tmpa1ve7teg'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # 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. */ 1169s # 1169s # 1169s # /* Generated data ends here */ 1169s # Executing: glib/mkenums.py.test 1169s ok 25 __main__.TestRspMkenums.test_enum_name 1169s # tmpdir: /tmp/tmpoh8yto1z 1169s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1169s # /tmp/tmpoh8yto1z/tmpdkyy3r1y.h: 1169s # typedef enum _SomeEnumIdentifier { 1169s # ENUM_VALUE 1169s # } SomeEnumIdentifier; 1169s # 1169s # /tmp/tmpoh8yto1z/tmpfq_7d0qx.template: 1169s # /*** BEGIN file-header ***/ 1169s # file-header 1169s # /*** END file-header ***/ 1169s # 1169s # /*** BEGIN file-production ***/ 1169s # file-production 1169s # filename: @filename@ 1169s # basename: @basename@ 1169s # /*** END file-production ***/ 1169s # 1169s # /*** BEGIN enumeration-production ***/ 1169s # enumeration-production 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END enumeration-production ***/ 1169s # 1169s # /*** BEGIN value-header ***/ 1169s # value-header 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-header ***/ 1169s # 1169s # /*** BEGIN value-production ***/ 1169s # value-production 1169s # VALUENAME: @VALUENAME@ 1169s # valuenick: @valuenick@ 1169s # valuenum: @valuenum@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-production ***/ 1169s # 1169s # /*** BEGIN value-tail ***/ 1169s # value-tail 1169s # EnumName: @EnumName@ 1169s # enum_name: @enum_name@ 1169s # ENUMNAME: @ENUMNAME@ 1169s # ENUMSHORT: @ENUMSHORT@ 1169s # ENUMPREFIX: @ENUMPREFIX@ 1169s # enumsince: @enumsince@ 1169s # type: @type@ 1169s # Type: @Type@ 1169s # TYPE: @TYPE@ 1169s # /*** END value-tail ***/ 1169s # 1169s # /*** BEGIN comment ***/ 1169s # comment 1169s # comment: @comment@ 1169s # /*** END comment ***/ 1169s # 1169s # /*** BEGIN file-tail ***/ 1169s # file-tail 1169s # /*** END file-tail ***/ 1169s # 1169s # Response file contains: --template /tmp/tmpoh8yto1z/tmpfq_7d0qx.template /tmp/tmpoh8yto1z/tmpdkyy3r1y.h 1169s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpoh8yto1z/tmpthz3btid'] 1169s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1169s # Output: comment 1169s # 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. 1169s # 1169s # 1169s # file-header 1169s # file-production 1169s # filename: /tmp/tmpoh8yto1z/tmpdkyy3r1y.h 1169s # basename: tmpdkyy3r1y.h 1169s # enumeration-production 1169s # EnumName: SomeEnumIdentifier 1169s # enum_name: some_enum_identifier 1169s # ENUMNAME: SOME_ENUM_IDENTIFIER 1169s # ENUMSHORT: ENUM_IDENTIFIER 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-header 1169s # EnumName: SomeEnumIdentifier 1169s # enum_name: some_enum_identifier 1169s # ENUMNAME: SOME_ENUM_IDENTIFIER 1169s # ENUMSHORT: ENUM_IDENTIFIER 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-production 1169s # VALUENAME: ENUM_VALUE 1169s # valuenick: value 1169s # valuenum: 0 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # value-tail 1169s # EnumName: SomeEnumIdentifier 1169s # enum_name: some_enum_identifier 1169s # ENUMNAME: SOME_ENUM_IDENTIFIER 1169s # ENUMSHORT: ENUM_IDENTIFIER 1169s # ENUMPREFIX: SOME 1169s # enumsince: 1169s # type: enum 1169s # Type: Enum 1169s # TYPE: ENUM 1169s # file-tail 1169s # 1169s # comment 1169s # comment: Generated data ends here 1170s ok 26 __main__.TestRspMkenums.test_enum_private_public 1170s # tmpdir: /tmp/tmpm81125_d 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # /tmp/tmpm81125_d/tmplctw5719.h: 1170s # typedef enum { 1170s # ENUM_VALUE_PUBLIC1, 1170s # /*< private >*/ 1170s # ENUM_VALUE_PRIVATE, 1170s # } SomeEnumA 1170s # 1170s # /tmp/tmpm81125_d/tmp7c2vzlg2.template: 1170s # /*** BEGIN file-header ***/ 1170s # file-header 1170s # /*** END file-header ***/ 1170s # 1170s # /*** BEGIN file-production ***/ 1170s # file-production 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-production ***/ 1170s # 1170s # /*** BEGIN enumeration-production ***/ 1170s # enumeration-production 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END enumeration-production ***/ 1170s # 1170s # /*** BEGIN value-header ***/ 1170s # value-header 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-header ***/ 1170s # 1170s # /*** BEGIN value-production ***/ 1170s # value-production 1170s # VALUENAME: @VALUENAME@ 1170s # valuenick: @valuenick@ 1170s # valuenum: @valuenum@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-production ***/ 1170s # 1170s # /*** BEGIN value-tail ***/ 1170s # value-tail 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-tail ***/ 1170s # 1170s # /*** BEGIN comment ***/ 1170s # comment 1170s # comment: @comment@ 1170s # /*** END comment ***/ 1170s # 1170s # /*** BEGIN file-tail ***/ 1170s # file-tail 1170s # /*** END file-tail ***/ 1170s # 1170s # Response file contains: --template /tmp/tmpm81125_d/tmp7c2vzlg2.template /tmp/tmpm81125_d/tmplctw5719.h 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm81125_d/tmp2genv2gx'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: comment 1170s # 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. 1170s # 1170s # 1170s # file-header 1170s # file-production 1170s # filename: /tmp/tmpm81125_d/tmplctw5719.h 1170s # basename: tmplctw5719.h 1170s # enumeration-production 1170s # EnumName: SomeEnumA 1170s # enum_name: some_enum_a 1170s # ENUMNAME: SOME_ENUM_A 1170s # ENUMSHORT: ENUM_A 1170s # ENUMPREFIX: SOME 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-header 1170s # EnumName: SomeEnumA 1170s # enum_name: some_enum_a 1170s # ENUMNAME: SOME_ENUM_A 1170s # ENUMSHORT: ENUM_A 1170s # ENUMPREFIX: SOME 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-production 1170s # VALUENAME: ENUM_VALUE_PUBLIC1 1170s # valuenick: public1 1170s # valuenum: 0 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-tail 1170s # EnumName: SomeEnumA 1170s # enum_name: some_enum_a 1170s # ENUMNAME: SOME_ENUM_A 1170s # ENUMSHORT: ENUM_A 1170s # ENUMPREFIX: SOME 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # file-tail 1170s # 1170s # comment 1170s # comment: Generated data ends here 1170s # /tmp/tmpm81125_d/tmpzb3k2xmk.h: 1170s # typedef enum { 1170s # /*< private >*/ 1170s # ENUM_VALUE_PRIVATE, 1170s # /*< public >*/ 1170s # ENUM_VALUE_PUBLIC2, 1170s # } SomeEnumB; 1170s # 1170s # /tmp/tmpm81125_d/tmps_pro938.template: 1170s # /*** BEGIN file-header ***/ 1170s # file-header 1170s # /*** END file-header ***/ 1170s # 1170s # /*** BEGIN file-production ***/ 1170s # file-production 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-production ***/ 1170s # 1170s # /*** BEGIN enumeration-production ***/ 1170s # enumeration-production 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END enumeration-production ***/ 1170s # 1170s # /*** BEGIN value-header ***/ 1170s # value-header 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-header ***/ 1170s # 1170s # /*** BEGIN value-production ***/ 1170s # value-production 1170s # VALUENAME: @VALUENAME@ 1170s # valuenick: @valuenick@ 1170s # valuenum: @valuenum@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-production ***/ 1170s # 1170s # /*** BEGIN value-tail ***/ 1170s # value-tail 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-tail ***/ 1170s # 1170s # /*** BEGIN comment ***/ 1170s # comment 1170s # comment: @comment@ 1170s # /*** END comment ***/ 1170s # 1170s # /*** BEGIN file-tail ***/ 1170s # file-tail 1170s # /*** END file-tail ***/ 1170s # 1170s # Response file contains: --template /tmp/tmpm81125_d/tmps_pro938.template /tmp/tmpm81125_d/tmpzb3k2xmk.h 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm81125_d/tmpml0nqmto'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: comment 1170s # 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. 1170s # 1170s # 1170s # file-header 1170s # file-production 1170s # filename: /tmp/tmpm81125_d/tmpzb3k2xmk.h 1170s # basename: tmpzb3k2xmk.h 1170s # enumeration-production 1170s # EnumName: SomeEnumB 1170s # enum_name: some_enum_b 1170s # ENUMNAME: SOME_ENUM_B 1170s # ENUMSHORT: ENUM_B 1170s # ENUMPREFIX: SOME 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-header 1170s # EnumName: SomeEnumB 1170s # enum_name: some_enum_b 1170s # ENUMNAME: SOME_ENUM_B 1170s # ENUMSHORT: ENUM_B 1170s # ENUMPREFIX: SOME 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-production 1170s # VALUENAME: ENUM_VALUE_PUBLIC2 1170s # valuenick: public2 1170s # valuenum: 1 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-tail 1170s # EnumName: SomeEnumB 1170s # enum_name: some_enum_b 1170s # ENUMNAME: SOME_ENUM_B 1170s # ENUMSHORT: ENUM_B 1170s # ENUMPREFIX: SOME 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # file-tail 1170s # 1170s # comment 1170s # comment: Generated data ends here 1170s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1170s # tmpdir: /tmp/tmpnjxkvael 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # /tmp/tmpnjxkvael/tmpxb_i1wmp.h: 1170s # typedef enum { 1170s # /*< private >*/ 1170s # ENUM_VALUE_PRIVATE = 5, 1170s # /*< public >*/ 1170s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1170s # } TestSymbolicEnum; 1170s # 1170s # /tmp/tmpnjxkvael/tmpx5albut5.template: 1170s # /*** BEGIN file-header ***/ 1170s # file-header 1170s # /*** END file-header ***/ 1170s # 1170s # /*** BEGIN file-production ***/ 1170s # file-production 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-production ***/ 1170s # 1170s # /*** BEGIN enumeration-production ***/ 1170s # enumeration-production 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END enumeration-production ***/ 1170s # 1170s # /*** BEGIN value-header ***/ 1170s # value-header 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-header ***/ 1170s # 1170s # /*** BEGIN value-production ***/ 1170s # value-production 1170s # VALUENAME: @VALUENAME@ 1170s # valuenick: @valuenick@ 1170s # valuenum: @valuenum@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-production ***/ 1170s # 1170s # /*** BEGIN value-tail ***/ 1170s # value-tail 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-tail ***/ 1170s # 1170s # /*** BEGIN comment ***/ 1170s # comment 1170s # comment: @comment@ 1170s # /*** END comment ***/ 1170s # 1170s # /*** BEGIN file-tail ***/ 1170s # file-tail 1170s # /*** END file-tail ***/ 1170s # 1170s # Response file contains: --template /tmp/tmpnjxkvael/tmpx5albut5.template /tmp/tmpnjxkvael/tmpxb_i1wmp.h 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnjxkvael/tmpr5gwg9zh'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: comment 1170s # 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. 1170s # 1170s # 1170s # file-header 1170s # file-production 1170s # filename: /tmp/tmpnjxkvael/tmpxb_i1wmp.h 1170s # basename: tmpxb_i1wmp.h 1170s # enumeration-production 1170s # EnumName: TestSymbolicEnum 1170s # enum_name: test_symbolic_enum 1170s # ENUMNAME: TEST_SYMBOLIC_ENUM 1170s # ENUMSHORT: SYMBOLIC_ENUM 1170s # ENUMPREFIX: TEST 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-header 1170s # EnumName: TestSymbolicEnum 1170s # enum_name: test_symbolic_enum 1170s # ENUMNAME: TEST_SYMBOLIC_ENUM 1170s # ENUMSHORT: SYMBOLIC_ENUM 1170s # ENUMPREFIX: TEST 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-production 1170s # VALUENAME: ENUM_VALUE_PUBLIC 1170s # valuenick: public 1170s # valuenum: 7 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-tail 1170s # EnumName: TestSymbolicEnum 1170s # enum_name: test_symbolic_enum 1170s # ENUMNAME: TEST_SYMBOLIC_ENUM 1170s # ENUMSHORT: SYMBOLIC_ENUM 1170s # ENUMPREFIX: TEST 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # file-tail 1170s # 1170s # comment 1170s # comment: Generated data ends here 1170s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1170s # tmpdir: /tmp/tmp411gc7uk 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # /tmp/tmp411gc7uk/tmp4c_fx2br.template: 1170s # /*** BEGIN file-header ***/ 1170s # file-header 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-header ***/ 1170s # 1170s # /*** BEGIN comment ***/ 1170s # comment 1170s # comment: @comment@ 1170s # /*** END comment ***/ 1170s # 1170s # /*** BEGIN file-tail ***/ 1170s # file-tail 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-tail ***/ 1170s # Response file contains: --template /tmp/tmp411gc7uk/tmp4c_fx2br.template 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp411gc7uk/tmp_ioyw_o6'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: comment 1170s # 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. 1170s # 1170s # 1170s # file-header 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # file-tail 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # 1170s # comment 1170s # comment: Generated data ends here 1170s ok 29 __main__.TestRspMkenums.test_help 1170s # tmpdir: /tmp/tmpd89qpkex 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # Response file contains: --help 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpd89qpkex/tmpuh_3rynh'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1170s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1170s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1170s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1170s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1170s # [--output OUTPUT] [--version] 1170s # [args ...] 1170s # 1170s # positional arguments: 1170s # args One or more input files, or a single argument 1170s # @rspfile_path pointing to a file that contains the 1170s # actual arguments 1170s # 1170s # options: 1170s # -h, --help show this help message and exit 1170s # --identifier-prefix IDPREFIX 1170s # Identifier prefix 1170s # --symbol-prefix SYMPREFIX 1170s # Symbol prefix 1170s # --fhead FHEAD Output file header 1170s # --ftail FTAIL Output file footer 1170s # --fprod FPROD Put out TEXT every time a new input file is being 1170s # processed. 1170s # --eprod EPROD Per enum text, produced prior to value iterations 1170s # --vhead VHEAD Value header, produced before iterating over enum 1170s # values 1170s # --vprod VPROD Value text, produced for each enum value. 1170s # --vtail VTAIL Value tail, produced after iterating over enum values 1170s # --comments COMMENT_TMPL 1170s # Comment structure 1170s # --template TEMPLATE Template file 1170s # --output OUTPUT 1170s # --version, -v Print version information 1170s # 1170s # Production text substitutions: 1170s # @EnumName@ PrefixTheXEnum 1170s # @enum_name@ prefix_the_xenum 1170s # @ENUMNAME@ PREFIX_THE_XENUM 1170s # @ENUMSHORT@ THE_XENUM 1170s # @ENUMPREFIX@ PREFIX 1170s # @enumsince@ the user-provided since value given 1170s # @VALUENAME@ PREFIX_THE_XVALUE 1170s # @valuenick@ the-xvalue 1170s # @valuenum@ the integer value (limited support, Since: 2.26) 1170s # @type@ either enum or flags 1170s # @Type@ either Enum or Flags 1170s # @TYPE@ either ENUM or FLAGS 1170s # @filename@ name of current input file 1170s # @basename@ base name of the current input file (Since: 2.22) 1170s ok 30 __main__.TestRspMkenums.test_no_args 1170s # tmpdir: /tmp/tmp_an2ftlb 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # Response file contains: 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_an2ftlb/tmp6me9zcda'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # 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. */ 1170s # 1170s # 1170s # /* Generated data ends here */ 1170s ok 31 __main__.TestRspMkenums.test_no_headers 1170s # tmpdir: /tmp/tmpusnirehx 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # /tmp/tmpusnirehx/tmp0eefq1uh.template: 1170s # /*** BEGIN file-header ***/ 1170s # file-header 1170s # /*** END file-header ***/ 1170s # 1170s # /*** BEGIN file-production ***/ 1170s # file-production 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-production ***/ 1170s # 1170s # /*** BEGIN enumeration-production ***/ 1170s # enumeration-production 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END enumeration-production ***/ 1170s # 1170s # /*** BEGIN value-header ***/ 1170s # value-header 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-header ***/ 1170s # 1170s # /*** BEGIN value-production ***/ 1170s # value-production 1170s # VALUENAME: @VALUENAME@ 1170s # valuenick: @valuenick@ 1170s # valuenum: @valuenum@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-production ***/ 1170s # 1170s # /*** BEGIN value-tail ***/ 1170s # value-tail 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-tail ***/ 1170s # 1170s # /*** BEGIN comment ***/ 1170s # comment 1170s # comment: @comment@ 1170s # /*** END comment ***/ 1170s # 1170s # /*** BEGIN file-tail ***/ 1170s # file-tail 1170s # /*** END file-tail ***/ 1170s # 1170s # Response file contains: --template /tmp/tmpusnirehx/tmp0eefq1uh.template 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpusnirehx/tmpjk3fddui'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: comment 1170s # 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. 1170s # 1170s # 1170s # file-header 1170s # file-tail 1170s # 1170s # comment 1170s # comment: Generated data ends here 1170s ok 32 __main__.TestRspMkenums.test_no_nick 1170s # tmpdir: /tmp/tmp81rl1y7r 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # /tmp/tmp81rl1y7r/tmpqxcyc_04.h: 1170s # typedef enum { 1170s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1170s # } GeglSamplerType; 1170s # 1170s # /tmp/tmp81rl1y7r/tmp8nnoe40c.template: 1170s # /*** BEGIN file-header ***/ 1170s # file-header 1170s # /*** END file-header ***/ 1170s # 1170s # /*** BEGIN file-production ***/ 1170s # file-production 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-production ***/ 1170s # 1170s # /*** BEGIN enumeration-production ***/ 1170s # enumeration-production 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END enumeration-production ***/ 1170s # 1170s # /*** BEGIN value-header ***/ 1170s # value-header 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-header ***/ 1170s # 1170s # /*** BEGIN value-production ***/ 1170s # value-production 1170s # VALUENAME: @VALUENAME@ 1170s # valuenick: @valuenick@ 1170s # valuenum: @valuenum@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-production ***/ 1170s # 1170s # /*** BEGIN value-tail ***/ 1170s # value-tail 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-tail ***/ 1170s # 1170s # /*** BEGIN comment ***/ 1170s # comment 1170s # comment: @comment@ 1170s # /*** END comment ***/ 1170s # 1170s # /*** BEGIN file-tail ***/ 1170s # file-tail 1170s # /*** END file-tail ***/ 1170s # 1170s # Response file contains: --template /tmp/tmp81rl1y7r/tmp8nnoe40c.template /tmp/tmp81rl1y7r/tmpqxcyc_04.h 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp81rl1y7r/tmpxl35zjot'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: comment 1170s # 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. 1170s # 1170s # 1170s # file-header 1170s # file-production 1170s # filename: /tmp/tmp81rl1y7r/tmpqxcyc_04.h 1170s # basename: tmpqxcyc_04.h 1170s # enumeration-production 1170s # EnumName: GeglSamplerType 1170s # enum_name: gegl_sampler_type 1170s # ENUMNAME: GEGL_SAMPLER_TYPE 1170s # ENUMSHORT: SAMPLER_TYPE 1170s # ENUMPREFIX: GEGL 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-header 1170s # EnumName: GeglSamplerType 1170s # enum_name: gegl_sampler_type 1170s # ENUMNAME: GEGL_SAMPLER_TYPE 1170s # ENUMSHORT: SAMPLER_TYPE 1170s # ENUMPREFIX: GEGL 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-production 1170s # VALUENAME: GEGL_SAMPLER_NEAREST 1170s # valuenick: nearest 1170s # valuenum: 0 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-tail 1170s # EnumName: GeglSamplerType 1170s # enum_name: gegl_sampler_type 1170s # ENUMNAME: GEGL_SAMPLER_TYPE 1170s # ENUMSHORT: SAMPLER_TYPE 1170s # ENUMPREFIX: GEGL 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # file-tail 1170s # 1170s # comment 1170s # comment: Generated data ends here 1170s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1170s # tmpdir: /tmp/tmpc8073pug 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # /tmp/tmpc8073pug/tmpn431bh74.h: 1170s # /* Copyright © La Peña */ 1170s # typedef enum { 1170s # ENUM_VALUE 1170s # } SomeEnumIdentifier; 1170s # 1170s # /tmp/tmpc8073pug/tmp50mnhkb8.template: 1170s # /*** BEGIN file-header ***/ 1170s # file-header 1170s # /*** END file-header ***/ 1170s # 1170s # /*** BEGIN file-production ***/ 1170s # file-production 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-production ***/ 1170s # 1170s # /*** BEGIN enumeration-production ***/ 1170s # enumeration-production 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END enumeration-production ***/ 1170s # 1170s # /*** BEGIN value-header ***/ 1170s # value-header 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-header ***/ 1170s # 1170s # /*** BEGIN value-production ***/ 1170s # value-production 1170s # VALUENAME: @VALUENAME@ 1170s # valuenick: @valuenick@ 1170s # valuenum: @valuenum@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-production ***/ 1170s # 1170s # /*** BEGIN value-tail ***/ 1170s # value-tail 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-tail ***/ 1170s # 1170s # /*** BEGIN comment ***/ 1170s # comment 1170s # comment: @comment@ 1170s # /*** END comment ***/ 1170s # 1170s # /*** BEGIN file-tail ***/ 1170s # file-tail 1170s # /*** END file-tail ***/ 1170s # 1170s # Response file contains: --template /tmp/tmpc8073pug/tmp50mnhkb8.template /tmp/tmpc8073pug/tmpn431bh74.h 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpc8073pug/tmp0pk30dbf'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: comment 1170s # 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. 1170s # 1170s # 1170s # file-header 1170s # file-production 1170s # filename: /tmp/tmpc8073pug/tmpn431bh74.h 1170s # basename: tmpn431bh74.h 1170s # enumeration-production 1170s # EnumName: SomeEnumIdentifier 1170s # enum_name: some_enum_identifier 1170s # ENUMNAME: SOME_ENUM_IDENTIFIER 1170s # ENUMSHORT: ENUM_IDENTIFIER 1170s # ENUMPREFIX: SOME 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-header 1170s # EnumName: SomeEnumIdentifier 1170s # enum_name: some_enum_identifier 1170s # ENUMNAME: SOME_ENUM_IDENTIFIER 1170s # ENUMSHORT: ENUM_IDENTIFIER 1170s # ENUMPREFIX: SOME 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-production 1170s # VALUENAME: ENUM_VALUE 1170s # valuenick: value 1170s # valuenum: 0 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-tail 1170s # EnumName: SomeEnumIdentifier 1170s # enum_name: some_enum_identifier 1170s # ENUMNAME: SOME_ENUM_IDENTIFIER 1170s # ENUMSHORT: ENUM_IDENTIFIER 1170s # ENUMPREFIX: SOME 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # file-tail 1170s # 1170s # comment 1170s # comment: Generated data ends here 1170s ok 34 __main__.TestRspMkenums.test_reproducible 1170s # tmpdir: /tmp/tmp8r8sozoj 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # /tmp/tmp8r8sozoj/tmpg7mrvlwk.template: template 1170s # Response file contains: --template /tmp/tmp8r8sozoj/tmpg7mrvlwk.template /tmp/tmp8r8sozoj/tmphiok21h91.h /tmp/tmp8r8sozoj/tmpges84ivh2.h 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8r8sozoj/tmpw__7cfrz'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # 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. */ 1170s # 1170s # 1170s # /* Generated data ends here */ 1170s # /tmp/tmp8r8sozoj/tmpfikqfke9.template: template 1170s # Response file contains: --template /tmp/tmp8r8sozoj/tmpfikqfke9.template /tmp/tmp8r8sozoj/tmpges84ivh2.h /tmp/tmp8r8sozoj/tmphiok21h91.h 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8r8sozoj/tmptnum2yq8'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # 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. */ 1170s # 1170s # 1170s # /* Generated data ends here */ 1170s ok 35 __main__.TestRspMkenums.test_since 1170s # tmpdir: /tmp/tmp9eowdoct 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # /tmp/tmp9eowdoct/tmpvg114_bc.h: 1170s # typedef enum { /*< since=1.0 >*/ 1170s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1170s # } QmiWmsMessageProtocol; 1170s # 1170s # /tmp/tmp9eowdoct/tmpn0bxzz89.template: 1170s # /*** BEGIN file-header ***/ 1170s # file-header 1170s # /*** END file-header ***/ 1170s # 1170s # /*** BEGIN file-production ***/ 1170s # file-production 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-production ***/ 1170s # 1170s # /*** BEGIN enumeration-production ***/ 1170s # enumeration-production 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END enumeration-production ***/ 1170s # 1170s # /*** BEGIN value-header ***/ 1170s # value-header 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-header ***/ 1170s # 1170s # /*** BEGIN value-production ***/ 1170s # value-production 1170s # VALUENAME: @VALUENAME@ 1170s # valuenick: @valuenick@ 1170s # valuenum: @valuenum@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-production ***/ 1170s # 1170s # /*** BEGIN value-tail ***/ 1170s # value-tail 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-tail ***/ 1170s # 1170s # /*** BEGIN comment ***/ 1170s # comment 1170s # comment: @comment@ 1170s # /*** END comment ***/ 1170s # 1170s # /*** BEGIN file-tail ***/ 1170s # file-tail 1170s # /*** END file-tail ***/ 1170s # 1170s # Response file contains: --template /tmp/tmp9eowdoct/tmpn0bxzz89.template /tmp/tmp9eowdoct/tmpvg114_bc.h 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9eowdoct/tmppoauafug'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: comment 1170s # 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. 1170s # 1170s # 1170s # file-header 1170s # file-production 1170s # filename: /tmp/tmp9eowdoct/tmpvg114_bc.h 1170s # basename: tmpvg114_bc.h 1170s # enumeration-production 1170s # EnumName: QmiWmsMessageProtocol 1170s # enum_name: qmi_wms_message_protocol 1170s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1170s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1170s # ENUMPREFIX: QMI 1170s # enumsince: 1.0 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-header 1170s # EnumName: QmiWmsMessageProtocol 1170s # enum_name: qmi_wms_message_protocol 1170s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1170s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1170s # ENUMPREFIX: QMI 1170s # enumsince: 1.0 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-production 1170s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1170s # valuenick: cdma 1170s # valuenum: 0 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-tail 1170s # EnumName: QmiWmsMessageProtocol 1170s # enum_name: qmi_wms_message_protocol 1170s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1170s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1170s # ENUMPREFIX: QMI 1170s # enumsince: 1.0 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # file-tail 1170s # 1170s # comment 1170s # comment: Generated data ends here 1170s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1170s # tmpdir: /tmp/tmpifssmsao 1170s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1170s # /tmp/tmpifssmsao/tmpgx262b1z.h: 1170s # typedef enum { 1170s # FOO_VALUE /*< nick="eek, a comma" >*/ 1170s # } Foo; 1170s # 1170s # /tmp/tmpifssmsao/tmp2umlpcgp.template: 1170s # /*** BEGIN file-header ***/ 1170s # file-header 1170s # /*** END file-header ***/ 1170s # 1170s # /*** BEGIN file-production ***/ 1170s # file-production 1170s # filename: @filename@ 1170s # basename: @basename@ 1170s # /*** END file-production ***/ 1170s # 1170s # /*** BEGIN enumeration-production ***/ 1170s # enumeration-production 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END enumeration-production ***/ 1170s # 1170s # /*** BEGIN value-header ***/ 1170s # value-header 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-header ***/ 1170s # 1170s # /*** BEGIN value-production ***/ 1170s # value-production 1170s # VALUENAME: @VALUENAME@ 1170s # valuenick: @valuenick@ 1170s # valuenum: @valuenum@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-production ***/ 1170s # 1170s # /*** BEGIN value-tail ***/ 1170s # value-tail 1170s # EnumName: @EnumName@ 1170s # enum_name: @enum_name@ 1170s # ENUMNAME: @ENUMNAME@ 1170s # ENUMSHORT: @ENUMSHORT@ 1170s # ENUMPREFIX: @ENUMPREFIX@ 1170s # enumsince: @enumsince@ 1170s # type: @type@ 1170s # Type: @Type@ 1170s # TYPE: @TYPE@ 1170s # /*** END value-tail ***/ 1170s # 1170s # /*** BEGIN comment ***/ 1170s # comment 1170s # comment: @comment@ 1170s # /*** END comment ***/ 1170s # 1170s # /*** BEGIN file-tail ***/ 1170s # file-tail 1170s # /*** END file-tail ***/ 1170s # 1170s # Response file contains: --template /tmp/tmpifssmsao/tmp2umlpcgp.template /tmp/tmpifssmsao/tmpgx262b1z.h 1170s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpifssmsao/tmpztmxz4t0'] 1170s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1170s # Output: comment 1170s # 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. 1170s # 1170s # 1170s # file-header 1170s # file-production 1170s # filename: /tmp/tmpifssmsao/tmpgx262b1z.h 1170s # basename: tmpgx262b1z.h 1170s # enumeration-production 1170s # EnumName: Foo 1170s # enum_name: foo_ 1170s # ENUMNAME: FOO_ 1170s # ENUMSHORT: 1170s # ENUMPREFIX: FOO 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-header 1170s # EnumName: Foo 1170s # enum_name: foo_ 1170s # ENUMNAME: FOO_ 1170s # ENUMSHORT: 1170s # ENUMPREFIX: FOO 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-production 1170s # VALUENAME: FOO_VALUE 1170s # valuenick: eek, a comma 1170s # valuenum: 0 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # value-tail 1170s # EnumName: Foo 1170s # enum_name: foo_ 1170s # ENUMNAME: FOO_ 1170s # ENUMSHORT: 1170s # ENUMPREFIX: FOO 1170s # enumsince: 1170s # type: enum 1170s # Type: Enum 1170s # TYPE: ENUM 1170s # file-tail 1170s # 1170s # comment 1170s # comment: Generated data ends here 1170s 1..36 1170s ok - glib/mkenums.py.test 1170s # Running test: glib/signals-refcount1.test 1170s TAP version 14 1170s # random seed: R02S8bd8637fc2f7c58844ed8397c30edc86 1170s 1..1 1170s # Start of gobject tests 1170s # Start of refcount tests 1170s # init 0xac1a6ece5430 1170s # 1170s # init 0xac1a6ece55d0 1170s # 1174s # Executing: glib/signals-refcount1.test 1175s # dispose 0xac1a6ece5430! 1175s # 1175s # dispose 0xac1a6ece55d0! 1175s # 1175s ok 1 /gobject/refcount/signals 1175s # slow test /gobject/refcount/signals executed in 5.00 secs 1175s # End of refcount tests 1175s # End of gobject tests 1175s ok - glib/signals-refcount1.test 1175s # Running test: glib/macros-c-99.test 1175s TAP version 14 1175s # random seed: R02S970efe6bb531f6114b1888776ba86fed 1175s 1..4 1175s # Start of C tests 1175s ok 1 /C/standard-99 1175s # End of C tests 1175s # Start of alignof tests 1175s ok 2 /alignof/fallback 1175s # End of alignof tests 1175s # Start of assert tests 1175s ok 3 /assert/static 1175s # End of assert tests 1175s # Start of struct tests 1175s ok 4 /struct/sizeof_member 1175s # End of struct tests 1175s ok - glib/macros-c-99.test 1175s # Running test: glib/stream-rw_all.test 1175s TAP version 14 1175s # random seed: R02Sf87a4b3c3168a44614d3be759f1c9e75 1175s 1..3 1175s # Start of stream tests 1175s # Start of read_all_async tests 1175s ok 1 /stream/read_all_async/memory 1175s # End of read_all_async tests 1175s # Start of write_all_async tests 1175s ok 2 /stream/write_all_async/memory 1175s # End of write_all_async tests 1175s # Start of read_write_all_async tests 1175s ok 3 /stream/read_write_all_async/pipe 1175s # End of read_write_all_async tests 1175s # End of stream tests 1175s ok - glib/stream-rw_all.test 1175s # Running test: glib/utf8-pointer.test 1175s TAP version 14 1175s # random seed: R02Sa635f6b93ed8ea0838bc4ff25e338e2d 1175s 1..3 1175s # Start of utf8 tests 1176s ok 1 /utf8/offsets 1176s # slow test /utf8/offsets executed in 0.90 secs 1176s ok 2 /utf8/lengths 1176s ok 3 /utf8/find 1176s # End of utf8 tests 1176s ok - glib/utf8-pointer.test 1176s # Running test: glib/macros-c-17.test 1176s TAP version 14 1176s # random seed: R02Sbc66f9cdfb869a42c3cd337b2ccb1f3f 1176s 1..4 1176s # Start of C tests 1176s ok 1 /C/standard-17 1176s # End of C tests 1176s # Start of alignof tests 1176s ok 2 /alignof/fallback 1176s # End of alignof tests 1176s # Start of assert tests 1176s ok 3 /assert/static 1176s # End of assert tests 1176s # Start of struct tests 1176s ok 4 /struct/sizeof_member 1176s # End of struct tests 1176s ok - glib/macros-c-17.test 1176s # Running test: glib/refcount.test 1176s TAP version 14 1176s # random seed: R02S8e5e4afad5f094875045ce0e68b799d2 1176s 1..4 1176s # Start of refcount tests 1176s ok 1 /refcount/grefcount 1176s ok 2 /refcount/gatomicrefcount 1176s # Start of grefcount tests 1176s ok 3 /refcount/grefcount/saturation 1176s # End of grefcount tests 1176s # Start of gatomicrefcount tests 1176s ok 4 /refcount/gatomicrefcount/saturation 1176s # End of gatomicrefcount tests 1176s # End of refcount tests 1176s ok - glib/refcount.test 1176s # Running test: glib/autoptr-girepository.test 1176s TAP version 14 1176s # random seed: R02S8a072b99357dc60fd3e1490c50b9be73 1176s 1..24 1176s # Start of autoptr tests 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/repository/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 1 /autoptr/repository 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/typelib/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 2 /autoptr/typelib 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/base-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 3 /autoptr/base-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/arg-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 4 /autoptr/arg-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/callable-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 5 /autoptr/callable-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/callback-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 6 /autoptr/callback-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/constant-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 7 /autoptr/constant-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/enum-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 8 /autoptr/enum-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/field-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 9 /autoptr/field-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/flags-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 10 /autoptr/flags-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/function-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 11 /autoptr/function-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/interface-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 12 /autoptr/interface-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/object-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 13 /autoptr/object-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/property-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 14 /autoptr/property-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/registered-type-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 15 /autoptr/registered-type-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/signal-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 16 /autoptr/signal-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/struct-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 17 /autoptr/struct-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/type-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 18 /autoptr/type-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/union-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 19 /autoptr/union-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/value-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 20 /autoptr/value-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/autoptr/vfunc-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 21 /autoptr/vfunc-info 1176s # End of autoptr tests 1176s # Start of auto tests 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/auto/arg-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 22 /auto/arg-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/auto/type-info/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 23 /auto/type-info 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_E8YL22/auto/function-invoker/.dirs/runtime 1176s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1176s ok 24 /auto/function-invoker 1176s # End of auto tests 1176s ok - glib/autoptr-girepository.test 1176s # Running test: glib/gdbus-proxy.test 1176s TAP version 14 1176s # random seed: R02S668b1ea7d0f52bf6a7656975fdd2183b 1176s 1..5 1176s # Start of gdbus tests 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/.dirs/runtime 1178s ok 1 /gdbus/proxy 1178s # slow test /gdbus/proxy executed in 1.72 secs 1178s # Start of proxy tests 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-properties/.dirs/runtime 1178s ok 2 /gdbus/proxy/no-properties 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/wellknown-noauto/.dirs/runtime 1178s ok 3 /gdbus/proxy/wellknown-noauto 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/async/.dirs/runtime 1179s # Executing: glib/gdbus-proxy.test 1179s ok 4 /gdbus/proxy/async 1179s # slow test /gdbus/proxy/async executed in 1.72 secs 1179s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/home 1179s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/cache 1179s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/system-config2 1179s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/config 1179s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/system-data2 1179s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/data 1179s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/state 1179s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_RFML22/gdbus/proxy/no-match-rule/.dirs/runtime 1179s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1179s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1181s ok 5 /gdbus/proxy/no-match-rule 1181s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1181s # End of proxy tests 1181s # End of gdbus tests 1181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1181s ok - glib/gdbus-proxy.test 1181s # Running test: glib/markup-escape.test 1181s TAP version 14 1181s # random seed: R02S1f55662137f8eb9f670194eedfd439b8 1181s 1..41 1181s # Start of markup tests 1181s ok 1 /markup/format 1181s # Start of escape-text tests 1181s ok 2 /markup/escape-text/0 1181s ok 3 /markup/escape-text/1 1181s ok 4 /markup/escape-text/2 1181s ok 5 /markup/escape-text/3 1181s ok 6 /markup/escape-text/4 1181s ok 7 /markup/escape-text/5 1181s ok 8 /markup/escape-text/6 1181s ok 9 /markup/escape-text/7 1181s ok 10 /markup/escape-text/8 1181s ok 11 /markup/escape-text/9 1181s ok 12 /markup/escape-text/10 1181s ok 13 /markup/escape-text/11 1181s ok 14 /markup/escape-text/12 1181s ok 15 /markup/escape-text/13 1181s ok 16 /markup/escape-text/14 1181s ok 17 /markup/escape-text/15 1181s ok 18 /markup/escape-text/16 1181s ok 19 /markup/escape-text/17 1181s ok 20 /markup/escape-text/18 1181s ok 21 /markup/escape-text/19 1181s ok 22 /markup/escape-text/20 1181s ok 23 /markup/escape-text/21 1181s ok 24 /markup/escape-text/22 1181s # End of escape-text tests 1181s # Start of escape-unichar tests 1181s ok 25 /markup/escape-unichar/0 1181s ok 26 /markup/escape-unichar/1 1181s ok 27 /markup/escape-unichar/2 1181s ok 28 /markup/escape-unichar/3 1181s ok 29 /markup/escape-unichar/4 1181s ok 30 /markup/escape-unichar/5 1181s ok 31 /markup/escape-unichar/6 1181s ok 32 /markup/escape-unichar/7 1181s ok 33 /markup/escape-unichar/8 1181s ok 34 /markup/escape-unichar/9 1181s ok 35 /markup/escape-unichar/10 1181s ok 36 /markup/escape-unichar/11 1181s ok 37 /markup/escape-unichar/12 1181s ok 38 /markup/escape-unichar/13 1181s ok 39 /markup/escape-unichar/14 1181s ok 40 /markup/escape-unichar/15 1181s ok 41 /markup/escape-unichar/16 1181s # End of escape-unichar tests 1181s # End of markup tests 1181s ok - glib/markup-escape.test 1181s # Running test: glib/utf8-performance.test 1181s TAP version 14 1181s # random seed: R02S4baf5bdfee6ccdbb22af40af16eff4bf 1181s 1..36 1181s # Start of utf8 tests 1181s # Start of perf tests 1181s # Start of get_char tests 1181s # max perf: inf MB/s 1181s ok 1 /utf8/perf/get_char/ascii 1181s # max perf: inf MB/s 1181s ok 2 /utf8/perf/get_char/latin1 1181s # max perf: inf MB/s 1181s ok 3 /utf8/perf/get_char/cyrillic 1181s # max perf: 156.0 MB/s 1181s ok 4 /utf8/perf/get_char/han 1181s # End of get_char tests 1181s # Start of get_char-backwards tests 1181s # max perf: 43.0 MB/s 1181s ok 5 /utf8/perf/get_char-backwards/ascii 1181s # max perf: 67.0 MB/s 1181s ok 6 /utf8/perf/get_char-backwards/latin1 1181s # max perf: 160.0 MB/s 1181s ok 7 /utf8/perf/get_char-backwards/cyrillic 1181s # max perf: 156.0 MB/s 1181s ok 8 /utf8/perf/get_char-backwards/han 1181s # End of get_char-backwards tests 1181s # Start of get_char_validated tests 1181s # max perf: 43.0 MB/s 1181s ok 9 /utf8/perf/get_char_validated/ascii 1181s # max perf: inf MB/s 1181s ok 10 /utf8/perf/get_char_validated/latin1 1181s # max perf: 160.0 MB/s 1181s ok 11 /utf8/perf/get_char_validated/cyrillic 1181s # max perf: 156.0 MB/s 1181s ok 12 /utf8/perf/get_char_validated/han 1181s # End of get_char_validated tests 1181s # Start of utf8_to_ucs4 tests 1181s # max perf: 43.0 MB/s 1181s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1181s # max perf: 67.0 MB/s 1181s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1181s # max perf: 160.0 MB/s 1181s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1181s # max perf: 156.0 MB/s 1181s ok 16 /utf8/perf/utf8_to_ucs4/han 1181s # End of utf8_to_ucs4 tests 1181s # Start of utf8_to_ucs4-sized tests 1181s # max perf: inf MB/s 1181s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1181s # max perf: inf MB/s 1181s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1181s # max perf: 160.0 MB/s 1181s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1181s # max perf: 156.0 MB/s 1181s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1181s # End of utf8_to_ucs4-sized tests 1181s # Start of utf8_to_ucs4_fast tests 1181s # max perf: 43.0 MB/s 1181s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1181s # max perf: 67.0 MB/s 1181s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1181s # max perf: 160.0 MB/s 1181s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1181s # max perf: inf MB/s 1181s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1181s # End of utf8_to_ucs4_fast tests 1181s # Start of utf8_to_ucs4_fast-sized tests 1181s # max perf: 43.0 MB/s 1181s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1181s # max perf: 67.0 MB/s 1181s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1181s # max perf: 160.0 MB/s 1181s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1181s # max perf: 156.0 MB/s 1181s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1181s # End of utf8_to_ucs4_fast-sized tests 1181s # Start of utf8_validate tests 1181s # max perf: inf MB/s 1181s ok 29 /utf8/perf/utf8_validate/ascii 1181s # max perf: inf MB/s 1181s ok 30 /utf8/perf/utf8_validate/latin1 1181s # max perf: 160.0 MB/s 1181s ok 31 /utf8/perf/utf8_validate/cyrillic 1181s # max perf: 156.0 MB/s 1181s ok 32 /utf8/perf/utf8_validate/han 1181s # End of utf8_validate tests 1181s # Start of utf8_validate-sized tests 1181s # max perf: inf MB/s 1181s ok 33 /utf8/perf/utf8_validate-sized/ascii 1181s # max perf: inf MB/s 1181s ok 34 /utf8/perf/utf8_validate-sized/latin1 1181s # max perf: inf MB/s 1181s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1181s # max perf: 156.0 MB/s 1181s ok 36 /utf8/perf/utf8_validate-sized/han 1181s # End of utf8_validate-sized tests 1181s # End of perf tests 1181s # End of utf8 tests 1181s ok - glib/utf8-performance.test 1181s # Running test: glib/mutex.test 1181s TAP version 14 1181s # random seed: R02Sc8bcfad4a67e8658467a04360f97a28d 1181s 1..17 1181s # Start of thread tests 1181s ok 1 /thread/mutex1 1181s ok 2 /thread/mutex2 1181s ok 3 /thread/mutex3 1181s ok 4 /thread/mutex4 1184s # Executing: glib/mutex.test 1185s ok 5 /thread/mutex5 1185s # slow test /thread/mutex5 executed in 3.68 secs 1185s # Start of mutex tests 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1185s ok 6 /thread/mutex/errno 1185s # Start of perf tests 1185s # max perf: inf mips 1185s ok 7 /thread/mutex/perf/uncontended 1185s # Start of contended tests 1185s # max perf: inf mips 1185s ok 8 /thread/mutex/perf/contended/1 1185s # max perf: inf mips 1185s ok 9 /thread/mutex/perf/contended/2 1185s # max perf: inf mips 1185s ok 10 /thread/mutex/perf/contended/3 1185s # max perf: 1.666667 mips 1185s ok 11 /thread/mutex/perf/contended/4 1185s # max perf: inf mips 1185s ok 12 /thread/mutex/perf/contended/5 1185s # max perf: 0.086420 mips 1185s ok 13 /thread/mutex/perf/contended/6 1185s # max perf: 0.023055 mips 1185s ok 14 /thread/mutex/perf/contended/7 1185s # max perf: 4.500000 mips 1185s ok 15 /thread/mutex/perf/contended/8 1185s # max perf: 5.000000 mips 1185s ok 16 /thread/mutex/perf/contended/9 1185s # max perf: 0.578947 mips 1185s ok 17 /thread/mutex/perf/contended/10 1185s # End of contended tests 1185s # End of perf tests 1185s # End of mutex tests 1185s # End of thread tests 1185s ok - glib/mutex.test 1185s # Running test: glib/gdbus-error.test 1185s TAP version 14 1185s # random seed: R02S5a6d67bf476cbaad49b1e8945cac8b79 1185s 1..4 1185s # Start of gdbus tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_WW4112/gdbus/registered-errors/.dirs/runtime 1185s ok 1 /gdbus/registered-errors 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_WW4112/gdbus/unregistered-errors/.dirs/runtime 1185s ok 2 /gdbus/unregistered-errors 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_WW4112/gdbus/transparent-gerror/.dirs/runtime 1185s ok 3 /gdbus/transparent-gerror 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_WW4112/gdbus/register-error/.dirs/runtime 1185s ok 4 /gdbus/register-error 1185s # End of gdbus tests 1185s ok - glib/gdbus-error.test 1185s # Running test: glib/gdbus-bz627724.test 1185s TAP version 14 1185s # random seed: R02S29fc89cab2a9e2930af13852afb0c097 1185s 1..1 1185s # Start of gdbus tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_VTV112/gdbus/bz627724/.dirs/runtime 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s ok 1 /gdbus/bz627724 1185s # End of gdbus tests 1185s ok - glib/gdbus-bz627724.test 1185s # Running test: glib/registered-type-info.test 1185s TAP version 14 1185s # random seed: R02S261fd7b32e67522d0a2769e42be47d30 1185s 1..1 1185s # Start of registered-type-info tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_SEM112/registered-type-info/boxed/.dirs/runtime 1185s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1185s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1185s # Expecting CClosure to not be boxed 1185s # Expecting TypeCValue to not be boxed 1185s # Expecting InitiallyUnownedClass to not be boxed 1185s # Expecting BookmarkFile to be boxed 1185s # Expecting Closure to be boxed 1185s # Expecting Object to not be boxed 1185s ok 1 /registered-type-info/boxed 1185s # End of registered-type-info tests 1185s ok - glib/registered-type-info.test 1185s # Running test: glib/markup-collect.test 1185s TAP version 14 1185s # random seed: R02S89039065b3595e91f4ea50e116aa3dac 1185s 1..21 1185s # Start of markup tests 1185s # Start of collect tests 1185s ok 1 /markup/collect/0 1185s ok 2 /markup/collect/1 1185s ok 3 /markup/collect/2 1185s ok 4 /markup/collect/3 1185s ok 5 /markup/collect/4 1185s ok 6 /markup/collect/5 1185s ok 7 /markup/collect/6 1185s ok 8 /markup/collect/7 1185s ok 9 /markup/collect/8 1185s ok 10 /markup/collect/9 1185s ok 11 /markup/collect/10 1185s ok 12 /markup/collect/11 1185s ok 13 /markup/collect/12 1185s ok 14 /markup/collect/13 1185s ok 15 /markup/collect/14 1185s ok 16 /markup/collect/15 1185s ok 17 /markup/collect/16 1185s ok 18 /markup/collect/17 1185s ok 19 /markup/collect/18 1185s ok 20 /markup/collect/19 1185s ok 21 /markup/collect/cleanup 1185s # End of collect tests 1185s # End of markup tests 1185s ok - glib/markup-collect.test 1185s # Running test: glib/dir.test 1185s TAP version 14 1185s # random seed: R02Sd0f92eecda31fce730ed36d6aa86f520 1185s 1..3 1185s # Start of dir tests 1185s ok 1 /dir/read 1185s ok 2 /dir/nonexisting 1185s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1185s ok 3 /dir/refcounting 1185s # End of dir tests 1185s ok - glib/dir.test 1185s # Running test: glib/utils.test 1185s TAP version 14 1185s # random seed: R02S5ff729d6fdd14f343e5afdbef5cca12c 1185s 1..41 1185s # Start of utils tests 1185s ok 1 /utils/language-names 1185s ok 2 /utils/locale-variants 1185s ok 3 /utils/version 1185s ok 4 /utils/appname 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1185s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1185s ok 5 /utils/prgname-thread-safety 1185s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1185s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1185s ok 6 /utils/tmpdir 1185s ok 7 /utils/basic_bits 1185s ok 8 /utils/bits 1185s ok 9 /utils/swap 1185s ok 10 /utils/find-program 1185s ok 11 /utils/find-program-for-path 1185s ok 12 /utils/debug 1185s ok 13 /utils/codeset 1185s ok 14 /utils/codeset2 1185s ok 15 /utils/console-charset 1185s ok 16 /utils/gettext 1185s ok 17 /utils/username 1185s ok 18 /utils/realname 1185s ok 19 /utils/hostname 1185s ok 20 /utils/xdgdirs 1185s ok 21 /utils/specialdir 1185s # NAME: Ubuntu 1185s ok 22 /utils/os-info 1185s ok 23 /utils/clear-pointer 1185s ok 24 /utils/clear-pointer-cast 1185s ok 25 /utils/take-pointer 1185s ok 26 /utils/clear-source 1185s ok 27 /utils/misc-mem 1185s # /utils/aligned-mem summary: Aligned memory allocator 1185s # Alignment must not be zero 1185s # Alignment must be a power of two 1185s # Alignment must be a multiple of sizeof(void*) 1185s ok 28 /utils/aligned-mem 1185s # /utils/free-sized summary: Check that g_free_sized() works 1185s ok 29 /utils/free-sized 1185s ok 30 /utils/nullify 1185s ok 31 /utils/atexit 1185s ok 32 /utils/check-setuid 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1185s ok 33 /utils/int-limits 1185s ok 34 /utils/clear-list 1185s ok 35 /utils/clear-slist 1185s ok 36 /utils/steal-handle-id 1185s # Start of specialdir tests 1185s ok 37 /utils/specialdir/desktop 1185s # End of specialdir tests 1185s # Start of clear-pointer tests 1185s ok 38 /utils/clear-pointer/side-effects 1185s # End of clear-pointer tests 1185s # Start of aligned-mem tests 1185s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1185s ok 39 /utils/aligned-mem/alignment 1185s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1185s ok 40 /utils/aligned-mem/zeroed 1185s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1185s ok 41 /utils/aligned-mem/free-sized 1185s # Start of subprocess tests 1185s # End of subprocess tests 1185s # End of aligned-mem tests 1185s # End of utils tests 1185s ok - glib/utils.test 1185s # Running test: glib/override.test 1185s TAP version 14 1185s # random seed: R02Sb54012aa487473905f720d8b3653fc35 1185s 1..1 1185s # Start of gobject tests 1185s # *** emitting foo on a TestA instance 1185s # Expecting: TestA::foo,TestI::foo 1185s # Got: TestA::foo,TestI::foo 1185s # *** emitting bar on a TestA instance 1185s # Expecting: TestA::bar 1185s # Got: TestA::bar 1185s # *** emitting baz on a TestA instance 1185s # Expecting: TestA::baz 1185s # Got: TestA::baz 1185s # *** emitting foo on a TestB instance 1185s # Expecting: TestB::foo,TestA::foo,TestI::foo 1185s # Got: TestB::foo,TestA::foo,TestI::foo 1185s # *** emitting bar on a TestB instance 1185s # Expecting: TestB::bar,TestA::bar 1185s # Got: TestB::bar,TestA::bar 1185s # *** emitting baz on a TestB instance 1185s # Expecting: TestB::baz,TestA::baz 1185s # Got: TestB::baz,TestA::baz 1185s # *** emitting foo on a TestC instance 1185s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1185s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1185s # *** emitting bar on a TestC instance 1185s # Expecting: TestC::bar,TestB::bar,TestA::bar 1185s # Got: TestC::bar,TestB::bar,TestA::bar 1185s # *** emitting baz on a TestC instance 1185s # Expecting: TestC::baz,TestB::baz,TestA::baz 1185s # Got: TestC::baz,TestB::baz,TestA::baz 1185s ok 1 /gobject/override 1185s # End of gobject tests 1185s ok - glib/override.test 1185s # Running test: glib/shell.test 1185s TAP version 14 1185s # random seed: R02S3933b78b6ff861b567943703df4bd236 1185s 1..51 1185s # Start of shell tests 1185s # Start of cmdline tests 1185s test cmdline: foo bar 1185s ok 1 /shell/cmdline/0 1185s test cmdline: foo 'bar' 1185s ok 2 /shell/cmdline/1 1185s test cmdline: foo "bar" 1185s ok 3 /shell/cmdline/2 1185s test cmdline: foo '' 'bar' 1185s ok 4 /shell/cmdline/3 1185s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1185s ok 5 /shell/cmdline/4 1185s test cmdline: foo blah foo bar baz 1185s ok 6 /shell/cmdline/5 1185s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1185s ok 7 /shell/cmdline/6 1185s test cmdline: foo \ 1185s bar 1185s ok 8 /shell/cmdline/7 1185s test cmdline: foo '' '' 1185s ok 9 /shell/cmdline/8 1185s test cmdline: foo \" la la la 1185s ok 10 /shell/cmdline/9 1185s test cmdline: foo \ foo woo woo\ 1185s ok 11 /shell/cmdline/10 1185s test cmdline: foo "yada yada \$\"" 1185s ok 12 /shell/cmdline/11 1185s test cmdline: foo "c:\\" 1185s ok 13 /shell/cmdline/12 1185s test cmdline: foo # bla bla bla 1185s bar 1185s ok 14 /shell/cmdline/13 1185s test cmdline: foo a#b 1185s ok 15 /shell/cmdline/14 1185s test cmdline: #foo 1185s ok 16 /shell/cmdline/15 1185s test cmdline: foo bar \ 1185s ok 17 /shell/cmdline/16 1185s test cmdline: foo 'bar baz 1185s ok 18 /shell/cmdline/17 1185s test cmdline: foo '"bar" baz 1185s ok 19 /shell/cmdline/18 1185s test cmdline: 1185s ok 20 /shell/cmdline/19 1185s test cmdline: 1185s ok 21 /shell/cmdline/20 1185s test cmdline: # foo bar 1185s ok 22 /shell/cmdline/21 1185s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1185s ok 23 /shell/cmdline/22 1185s # End of cmdline tests 1185s # Start of quote tests 1185s ok 24 /shell/quote/0 1185s ok 25 /shell/quote/1 1185s ok 26 /shell/quote/2 1185s ok 27 /shell/quote/3 1185s ok 28 /shell/quote/4 1185s ok 29 /shell/quote/5 1185s ok 30 /shell/quote/6 1185s # End of quote tests 1185s # Start of unquote tests 1185s ok 31 /shell/unquote/0 1185s ok 32 /shell/unquote/1 1185s ok 33 /shell/unquote/2 1185s ok 34 /shell/unquote/3 1185s ok 35 /shell/unquote/4 1185s ok 36 /shell/unquote/5 1185s ok 37 /shell/unquote/6 1185s ok 38 /shell/unquote/7 1185s ok 39 /shell/unquote/8 1185s ok 40 /shell/unquote/9 1185s ok 41 /shell/unquote/10 1185s ok 42 /shell/unquote/11 1185s ok 43 /shell/unquote/12 1185s ok 44 /shell/unquote/13 1185s ok 45 /shell/unquote/14 1185s ok 46 /shell/unquote/15 1185s ok 47 /shell/unquote/16 1185s ok 48 /shell/unquote/17 1185s ok 49 /shell/unquote/18 1185s ok 50 /shell/unquote/19 1185s ok 51 /shell/unquote/20 1185s # End of unquote tests 1185s # End of shell tests 1185s ok - glib/shell.test 1185s # Running test: glib/gdatetime.test 1185s TAP version 14 1185s # random seed: R02S9136a412489daecb3fb03e7919ebfbcd 1185s 1..68 1185s # Start of GDateTime tests 1185s # Bug Reference: http://bugzilla.gnome.org/702674 1185s ok 1 /GDateTime/invalid 1185s ok 2 /GDateTime/add_days 1185s ok 3 /GDateTime/add_full 1185s ok 4 /GDateTime/add_hours 1185s ok 5 /GDateTime/add_minutes 1185s ok 6 /GDateTime/add_months 1185s ok 7 /GDateTime/add_seconds 1185s ok 8 /GDateTime/add_weeks 1185s ok 9 /GDateTime/add_years 1185s ok 10 /GDateTime/compare 1185s ok 11 /GDateTime/diff 1185s ok 12 /GDateTime/equal 1185s ok 13 /GDateTime/get_day_of_week 1185s ok 14 /GDateTime/get_day_of_month 1185s ok 15 /GDateTime/get_day_of_year 1185s ok 16 /GDateTime/get_hour 1185s ok 17 /GDateTime/get_microsecond 1185s ok 18 /GDateTime/get_minute 1185s ok 19 /GDateTime/get_month 1185s ok 20 /GDateTime/get_second 1185s ok 21 /GDateTime/get_utc_offset 1185s ok 22 /GDateTime/get_year 1185s ok 23 /GDateTime/hash 1185s ok 24 /GDateTime/new_from_unix 1185s ok 25 /GDateTime/new_from_unix_utc 1185s ok 26 /GDateTime/new_from_timeval 1185s ok 27 /GDateTime/new_from_timeval_utc 1185s ok 28 /GDateTime/new_from_iso8601 1185s ok 29 /GDateTime/new_full 1185s ok 30 /GDateTime/now 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1185s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1185s # %a -> expected: Sat 1185s # %a -> actual: Sat 1185s # %A -> expected: Saturday 1185s # %A -> actual: Saturday 1185s # %b -> expected: Oct 1185s # %b -> actual: Oct 1185s # %B -> expected: October 1185s # %B -> actual: October 1185s # %d -> expected: 24 1185s # %d -> actual: 24 1185s # %d -> expected: 01 1185s # %d -> actual: 01 1185s # %e -> expected: 24 1185s # %e -> actual: 24 1185s # %e -> expected:  1 1185s # %e -> actual:  1 1185s # %f -> expected: 001000 1185s # %f -> actual: 001000 1185s # %h -> expected: Oct 1185s # %h -> actual: Oct 1185s # %H -> expected: 00 1185s # %H -> actual: 00 1185s # %H -> expected: 15 1185s # %H -> actual: 15 1185s # %I -> expected: 12 1185s # %I -> actual: 12 1185s # %I -> expected: 12 1185s # %I -> actual: 12 1185s # %I -> expected: 03 1185s # %I -> actual: 03 1185s # %j -> expected: 297 1185s # %j -> actual: 297 1185s # %k -> expected:  0 1185s # %k -> actual:  0 1185s # %k -> expected: 13 1185s # %k -> actual: 13 1185s # %l -> expected: 12 1185s # %l -> actual: 12 1185s # %I -> expected: 12 1185s # %I -> actual: 12 1185s # %l -> expected:  1 1185s # %l -> actual:  1 1185s # %l -> expected: 10 1185s # %l -> actual: 10 1185s # %m -> expected: 10 1185s # %m -> actual: 10 1185s # %M -> expected: 00 1185s # %M -> actual: 00 1185s # %p -> expected: AM 1185s # %p -> actual: AM 1185s # %p -> expected: PM 1185s # %p -> actual: PM 1185s # %P -> expected: am 1185s # %P -> actual: am 1185s # %P -> expected: pm 1185s # %P -> actual: pm 1185s # %r -> expected: 12:00:00 AM 1185s # %r -> actual: 12:00:00 AM 1185s # %r -> expected: 01:13:13 PM 1185s # %r -> actual: 01:13:13 PM 1185s # %R -> expected: 00:00 1185s # %R -> actual: 00:00 1185s # %R -> expected: 13:13 1185s # %R -> actual: 13:13 1185s # %S -> expected: 00 1185s # %S -> actual: 00 1185s # %t -> expected: 1185s # %t -> actual: 1185s # %u -> expected: 6 1185s # %u -> actual: 6 1185s # %x -> expected: 10/24/09 1185s # %x -> actual: 10/24/09 1185s # %X -> expected: 00:00:00 1185s # %X -> actual: 00:00:00 1185s # %X -> expected: 13:14:15 1185s # %X -> actual: 13:14:15 1185s # %y -> expected: 09 1185s # %y -> actual: 09 1185s # %Y -> expected: 2009 1185s # %Y -> actual: 2009 1185s # %% -> expected: % 1185s # %% -> actual: % 1185s # % -> expected: 1185s # % -> actual: 1185s # %9 -> expected: (null) 1185s # %9 -> actual: (null) 1185s # %Z -> expected: UTC 1185s # %Z -> actual: UTC 1185s # %#Z %Z -> expected: utc UTC 1185s # %#Z %Z -> actual: utc UTC 1185s ok 32 /GDateTime/printf 1185s # %a -> expected: ÅÚ 1185s # %a -> actual: ÅÚ 1185s # %A -> expected: ÅÚÍËÆü 1185s # %A -> actual: ÅÚÍËÆü 1185s # %b -> expected: 10·î 1185s # %b -> actual: 10·î 1185s # %B -> expected: 10·î 1185s # %B -> actual: 10·î 1185s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1185s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1185s # %C -> expected: 20 1185s # %C -> actual: 20 1185s # %d -> expected: 24 1185s # %d -> actual: 24 1185s # %d -> expected: 01 1185s # %d -> actual: 01 1185s # %e -> expected: 24 1185s # %e -> actual: 24 1185s # %h -> expected: 10·î 1185s # %h -> actual: 10·î 1185s # %H -> expected: 00 1185s # %H -> actual: 00 1185s # %H -> expected: 15 1185s # %H -> actual: 15 1185s # %I -> expected: 12 1185s # %I -> actual: 12 1185s # %I -> expected: 12 1185s # %I -> actual: 12 1185s # %I -> expected: 03 1185s # %I -> actual: 03 1185s # %j -> expected: 297 1185s # %j -> actual: 297 1185s # %k -> expected: ?0 1185s # %k -> actual: ?0 1185s # %k -> expected: 13 1185s # %k -> actual: 13 1185s # %l -> expected: 12 1185s # %l -> actual: 12 1185s # %I -> expected: 12 1185s # %I -> actual: 12 1185s # %l -> expected: ?1 1185s # %l -> actual: ?1 1185s # %l -> expected: 10 1185s # %l -> actual: 10 1185s # %m -> expected: 10 1185s # %m -> actual: 10 1185s # %M -> expected: 00 1185s # %M -> actual: 00 1185s # %p -> expected: ¸áÁ° 1185s # %p -> actual: ¸áÁ° 1185s # %p -> expected: ¸á¸å 1185s # %p -> actual: ¸á¸å 1185s # %P -> expected: ¸áÁ° 1185s # %P -> actual: ¸áÁ° 1185s # %P -> expected: ¸á¸å 1185s # %P -> actual: ¸á¸å 1185s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1185s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1185s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1185s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1185s # %R -> expected: 00:00 1185s # %R -> actual: 00:00 1185s # %R -> expected: 13:13 1185s # %R -> actual: 13:13 1185s # %S -> expected: 00 1185s # %S -> actual: 00 1185s # %t -> expected: 1185s # %t -> actual: 1185s # %u -> expected: 6 1185s # %u -> actual: 6 1185s # %x -> expected: 2009ǯ10·î24Æü 1185s # %x -> actual: 2009ǯ10·î24Æü 1185s # %X -> expected: 00»þ00ʬ00Éà 1185s # %X -> actual: 00»þ00ʬ00Éà 1185s # %X -> expected: 13»þ14ʬ15Éà 1185s # %X -> actual: 13»þ14ʬ15Éà 1185s # %y -> expected: 09 1185s # %y -> actual: 09 1185s # %Y -> expected: 2009 1185s # %Y -> actual: 2009 1185s # %% -> expected: % 1185s # %% -> actual: % 1185s # % -> expected: 1185s # % -> actual: 1185s # %9 -> expected: (null) 1185s # %9 -> actual: (null) 1185s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1185s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1185s # %EC -> expected: Ê¿À® 1185s # %EC -> actual: Ê¿À® 1185s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1185s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1185s # %EX -> expected: 00»þ00ʬ00Éà 1185s # %EX -> actual: 00»þ00ʬ00Éà 1185s # %Ey -> expected: 21 1185s # %Ey -> actual: 21 1185s # %EY -> expected: Ê¿À®21ǯ 1185s # %EY -> actual: Ê¿À®21ǯ 1185s ok 33 /GDateTime/non_utf8_printf 1185s # ???? -> expected: ???? 1185s # ???? -> actual: ???? 1185s # %H?%M -> expected: 23?15 1185s # %H?%M -> actual: 23?15 1185s # %H?%M -> expected: 23?15 1185s # %H?%M -> actual: 23?15 1185s ok 34 /GDateTime/format_unrepresentable 1185s ok 35 /GDateTime/format_iso8601 1185s ok 36 /GDateTime/strftime 1185s # %d -> expected: 01 1185s # %d -> actual: 01 1185s # %_d -> expected: 1 1185s # %_d -> actual: 1 1185s # %-d -> expected: 1 1185s # %-d -> actual: 1 1185s # %0d -> expected: 01 1185s # %0d -> actual: 01 1185s # %d -> expected: 21 1185s # %d -> actual: 21 1185s # %_d -> expected: 21 1185s # %_d -> actual: 21 1185s # %-d -> expected: 21 1185s # %-d -> actual: 21 1185s # %0d -> expected: 21 1185s # %0d -> actual: 21 1185s # %e -> expected:  1 1185s # %e -> actual:  1 1185s # %_e -> expected: 1 1185s # %_e -> actual: 1 1185s # %-e -> expected: 1 1185s # %-e -> actual: 1 1185s # %0e -> expected: 01 1185s # %0e -> actual: 01 1185s # %e -> expected: 21 1185s # %e -> actual: 21 1185s # %_e -> expected: 21 1185s # %_e -> actual: 21 1185s # %-e -> expected: 21 1185s # %-e -> actual: 21 1185s # %0e -> expected: 21 1185s # %0e -> actual: 21 1185s # %a -> expected: Thu 1185s # %a -> actual: Thu 1185s # %^a -> expected: THU 1185s # %^a -> actual: THU 1185s # %#a -> expected: THU 1185s # %#a -> actual: THU 1185s # %A -> expected: Thursday 1185s # %A -> actual: Thursday 1185s # %^A -> expected: THURSDAY 1185s # %^A -> actual: THURSDAY 1185s # %#A -> expected: THURSDAY 1185s # %#A -> actual: THURSDAY 1185s # %b -> expected: Jan 1185s # %b -> actual: Jan 1185s # %^b -> expected: JAN 1185s # %^b -> actual: JAN 1185s # %#b -> expected: JAN 1185s # %#b -> actual: JAN 1185s # %B -> expected: January 1185s # %B -> actual: January 1185s # %^B -> expected: JANUARY 1185s # %^B -> actual: JANUARY 1185s # %#B -> expected: JANUARY 1185s # %#B -> actual: JANUARY 1185s # %h -> expected: Jan 1185s # %h -> actual: Jan 1185s # %^h -> expected: JAN 1185s # %^h -> actual: JAN 1185s # %#h -> expected: JAN 1185s # %#h -> actual: JAN 1185s # %Z -> expected: UTC 1185s # %Z -> actual: UTC 1185s # %^Z -> expected: UTC 1185s # %^Z -> actual: UTC 1185s # %#Z -> expected: utc 1185s # %#Z -> actual: utc 1185s # %H -> expected: 01 1185s # %H -> actual: 01 1185s # %_H -> expected: 1 1185s # %_H -> actual: 1 1185s # %-H -> expected: 1 1185s # %-H -> actual: 1 1185s # %0H -> expected: 01 1185s # %0H -> actual: 01 1185s # %H -> expected: 21 1185s # %H -> actual: 21 1185s # %_H -> expected: 21 1185s # %_H -> actual: 21 1185s # %-H -> expected: 21 1185s # %-H -> actual: 21 1185s # %0H -> expected: 21 1185s # %0H -> actual: 21 1185s # %I -> expected: 01 1185s # %I -> actual: 01 1185s # %_I -> expected: 1 1185s # %_I -> actual: 1 1185s # %-I -> expected: 1 1185s # %-I -> actual: 1 1185s # %0I -> expected: 01 1185s # %0I -> actual: 01 1185s # %I -> expected: 11 1185s # %I -> actual: 11 1185s # %_I -> expected: 11 1185s # %_I -> actual: 11 1185s # %-I -> expected: 11 1185s # %-I -> actual: 11 1185s # %0I -> expected: 11 1185s # %0I -> actual: 11 1185s # %k -> expected:  1 1185s # %k -> actual:  1 1185s # %_k -> expected: 1 1185s # %_k -> actual: 1 1185s # %-k -> expected: 1 1185s # %-k -> actual: 1 1185s # %0k -> expected: 01 1185s # %0k -> actual: 01 1185s # %l -> expected:  1 1185s # %l -> actual:  1 1185s # %_l -> expected: 1 1185s # %_l -> actual: 1 1185s # %-l -> expected: 1 1185s # %-l -> actual: 1 1185s # %0l -> expected: 01 1185s # %0l -> actual: 01 1185s # %l -> expected: 11 1185s # %l -> actual: 11 1185s # %_l -> expected: 11 1185s # %_l -> actual: 11 1185s # %-l -> expected: 11 1185s # %-l -> actual: 11 1185s # %0l -> expected: 11 1185s # %0l -> actual: 11 1185s # %p -> expected: AM 1185s # %p -> actual: AM 1185s # %^p -> expected: AM 1185s # %^p -> actual: AM 1185s # %#p -> expected: am 1185s # %#p -> actual: am 1185s # %P -> expected: am 1185s # %P -> actual: am 1185s # %^P -> expected: AM 1185s # %^P -> actual: AM 1185s # %#P -> expected: am 1185s # %#P -> actual: am 1185s # %OH -> expected: Û²Û³ 1185s # %OH -> actual: Û²Û³ 1185s # %OI -> expected: Û±Û± 1185s # %OI -> actual: Û±Û± 1185s # %OM -> expected: Û°Û° 1185s # %OM -> actual: Û°Û° 1185s # %Om -> expected: Û°Û· 1185s # %Om -> actual: Û°Û· 1185s # %0Om -> expected: Û°Û· 1185s # %0Om -> actual: Û°Û· 1185s # %-Om -> expected: Û· 1185s # %-Om -> actual: Û· 1185s # %_Om -> expected: Û· 1185s # %_Om -> actual: Û· 1185s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1185s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1185s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1185s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1185s # %C -> expected: 20 1185s # %C -> actual: 20 1185s # %EC -> expected: 20 1185s # %EC -> actual: 20 1185s # %x -> expected: 02/01/09 1185s # %x -> actual: 02/01/09 1185s # %Ex -> expected: 02/01/09 1185s # %Ex -> actual: 02/01/09 1185s # %X -> expected: 01:02:03 1185s # %X -> actual: 01:02:03 1185s # %EX -> expected: 01:02:03 1185s # %EX -> actual: 01:02:03 1185s # %y -> expected: 09 1185s # %y -> actual: 09 1185s # %Ey -> expected: 09 1185s # %Ey -> actual: 09 1185s # %Y -> expected: 2009 1185s # %Y -> actual: 2009 1185s # %EY -> expected: 2009 1185s # %EY -> actual: 2009 1185s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1185s # Bug Reference: http://bugzilla.gnome.org/749206 1185s # %B -> expected: January 1185s # %B -> actual: January 1185s # %OB -> expected: February 1185s # %OB -> actual: February 1185s # %b -> expected: Mar 1185s # %b -> actual: Mar 1185s # %Ob -> expected: Apr 1185s # %Ob -> actual: Apr 1185s # %h -> expected: May 1185s # %h -> actual: May 1185s # %Oh -> expected: Jun 1185s # %Oh -> actual: Jun 1185s # %B -> expected: Juli 1185s # %B -> actual: Juli 1185s # %OB -> expected: August 1185s # %OB -> actual: August 1185s # %b -> expected: Sep 1185s # %b -> actual: Sep 1185s # %Ob -> expected: Okt 1185s # %Ob -> actual: Okt 1185s # %h -> expected: Nov 1185s # %h -> actual: Nov 1185s # %Oh -> expected: Dez 1185s # %Oh -> actual: Dez 1185s # %B -> expected: enero 1185s # %B -> actual: enero 1185s # %OB -> expected: febrero 1185s # %OB -> actual: febrero 1185s # %b -> expected: mar 1185s # %b -> actual: mar 1185s # %Ob -> expected: abr 1185s # %Ob -> actual: abr 1185s # %h -> expected: may 1185s # %h -> actual: may 1185s # %Oh -> expected: jun 1185s # %Oh -> actual: jun 1185s # %B -> expected: juillet 1185s # %B -> actual: juillet 1185s # %OB -> expected: août 1185s # %OB -> actual: août 1185s # %b -> expected: sept. 1185s # %b -> actual: sept. 1185s # %Ob -> expected: oct. 1185s # %Ob -> actual: oct. 1185s # %h -> expected: nov. 1185s # %h -> actual: nov. 1185s # %Oh -> expected: déc. 1185s # %Oh -> actual: déc. 1185s # %B -> expected: ΙανουαÏίου 1185s # %B -> actual: ΙανουαÏίου 1185s # %B -> expected: ΦεβÏουαÏίου 1185s # %B -> actual: ΦεβÏουαÏίου 1185s # %B -> expected: ΜαÏτίου 1185s # %B -> actual: ΜαÏτίου 1185s # %OB -> expected: ΑπÏίλιος 1185s # %OB -> actual: ΑπÏίλιος 1185s # %OB -> expected: Μάιος 1185s # %OB -> actual: Μάιος 1185s # %OB -> expected: ΙοÏνιος 1185s # %OB -> actual: ΙοÏνιος 1185s # %b -> expected: Ιουλ 1185s # %b -> actual: Ιουλ 1185s # %Ob -> expected: ΑÏγ 1185s # %Ob -> actual: ΑÏγ 1185s # %B -> expected: svibnja 1185s # %B -> actual: svibnja 1185s # %B -> expected: lipnja 1185s # %B -> actual: lipnja 1185s # %B -> expected: srpnja 1185s # %B -> actual: srpnja 1185s # %OB -> expected: Kolovoz 1185s # %OB -> actual: kolovoz 1185s # %OB -> expected: Rujan 1185s # %OB -> actual: rujan 1185s # %OB -> expected: Listopad 1185s # %OB -> actual: listopad 1185s # %b -> expected: Stu 1185s # %b -> actual: stu 1185s # %Ob -> expected: Pro 1185s # %Ob -> actual: pro 1185s # %B -> expected: sausio 1185s # %B -> actual: sausio 1185s # %B -> expected: vasario 1185s # %B -> actual: vasario 1185s # %B -> expected: kovo 1185s # %B -> actual: kovo 1185s # %OB -> expected: balandis 1185s # %OB -> actual: balandis 1185s # %OB -> expected: gegužė 1185s # %OB -> actual: gegužė 1185s # %OB -> expected: birželis 1185s # %OB -> actual: birželis 1185s # %b -> expected: liep. 1185s # %b -> actual: liep. 1185s # %Ob -> expected: rugp. 1185s # %Ob -> actual: rugp. 1185s # %B -> expected: maja 1185s # %B -> actual: maja 1185s # %B -> expected: czerwca 1185s # %B -> actual: czerwca 1185s # %B -> expected: lipca 1185s # %B -> actual: lipca 1185s # %OB -> expected: sierpieÅ„ 1185s # %OB -> actual: sierpieÅ„ 1185s # %OB -> expected: wrzesieÅ„ 1185s # %OB -> actual: wrzesieÅ„ 1185s # %OB -> expected: październik 1185s # %OB -> actual: październik 1185s # %b -> expected: lis 1185s # %b -> actual: lis 1185s # %Ob -> expected: gru 1185s # %Ob -> actual: gru 1185s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1185s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1185s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1185s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1185s # %B -> expected: марта 1185s # %B -> actual: марта 1185s # %OB -> expected: Ðпрель 1185s # %OB -> actual: Ðпрель 1185s # %OB -> expected: Май 1185s # %OB -> actual: Май 1185s # %OB -> expected: Июнь 1185s # %OB -> actual: Июнь 1185s # %b -> expected: июл 1185s # %b -> actual: июл 1185s # %Ob -> expected: авг 1185s # %Ob -> actual: авг 1185s # %b -> expected: Ð¼Ð°Ñ 1185s # %b -> actual: Ð¼Ð°Ñ 1185s # %Ob -> expected: май 1185s # %Ob -> actual: май 1185s ok 38 /GDateTime/month_names 1185s ok 39 /GDateTime/to_local 1185s ok 40 /GDateTime/to_unix 1185s ok 41 /GDateTime/to_timeval 1185s ok 42 /GDateTime/to_utc 1185s ok 43 /GDateTime/now_utc 1185s ok 44 /GDateTime/dst 1185s # Bug Reference: http://bugzilla.gnome.org/642935 1185s ok 45 /GDateTime/test_z 1186s ok 46 /GDateTime/test-all-dates 1186s # slow test /GDateTime/test-all-dates executed in 0.95 secs 1186s ok 47 /GDateTime/unix_usec 1186s # Start of new_from_unix tests 1186s # Bug Reference: http://bugzilla.gnome.org/782089 1186s ok 48 /GDateTime/new_from_unix/overflow 1186s # End of new_from_unix tests 1186s # Start of new_from_timeval tests 1186s # Bug Reference: http://bugzilla.gnome.org/782089 1186s # Maximum supported GTimeVal.tv_sec = 253402300799 1186s ok 49 /GDateTime/new_from_timeval/overflow 1186s # End of new_from_timeval tests 1186s # Start of new_from_iso8601 tests 1186s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1186s # Vector 0: 1990-11-01T10:21:17Z 1186s # Vector 1: 19901101T102117Z 1186s # Vector 2: 1970-01-01T00:00:17.12Z 1186s # Vector 3: 1970-01-01T00:00:17.1234Z 1186s # Vector 4: 1970-01-01T00:00:17.123456Z 1186s # Vector 5: 1980-02-22T12:36:00+02:00 1186s # Vector 6: 1990-12-31T15:59:60-08:00 1186s # Vector 7: 1186s # Vector 8: x 1186s # Vector 9: 123x 1186s # Vector 10: 2001-10+x 1186s # Vector 11: 1980-02-22T 1186s # Vector 12: 2001-10-08Tx 1186s # Vector 13: 2001-10-08T10:11x 1186s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1186s # Vector 15: 1980-02-22T10:36:00Zulu 1186s # Vector 16: 2T0+819855292164632335 1186s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1186s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1186s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1186s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1186s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1186s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1186s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1186s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1186s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1186s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1186s # Vector 27: 20180803T140805.446178377+0100 1186s # Vector 28: 21474836480803T140805.446178377+0100 1186s # Vector 29: 20181303T140805.446178377+0100 1186s # Vector 30: 20180003T140805.446178377+0100 1186s # Vector 31: 20180800T140805.446178377+0100 1186s # Vector 32: 20180832T140805.446178377+0100 1186s # Vector 33: 20180803T240805.446178377+0100 1186s # Vector 34: 20180803T146005.446178377+0100 1186s # Vector 35: 20180803T140863.446178377+0100 1186s # Vector 36: 20180803T140805.446178377+10000 1186s # Vector 37: -0005-01-01T00:00:00Z 1186s # Vector 38: 2018-08-06 1186s # Vector 39: 20180803T140805,446178377+0100 1186s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1186s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1186s # Vector 42: 1990-11-01T10:21:17 1186s # Vector 43: 1719W462 407777-07 1186s # Vector 44: 4011090 260528Z 1186s # Vector 45: 0000W011 228214-22 1186s ok 50 /GDateTime/new_from_iso8601/2 1186s # End of new_from_iso8601 tests 1186s # Start of format_mixed tests 1186s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1186s # %b -> expected: mar 1186s # %b -> actual: Mar 1186s # %B -> expected: march 1186s # %B -> actual: March 1186s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1186s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1186s # %b -> expected: mar 1186s # %b -> actual: Mar 1186s # %B -> expected: march 1186s # %B -> actual: March 1186s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1186s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1186s # %b -> expected: Mär 1186s # %b -> actual: Mär 1186s # %B -> expected: März 1186s # %B -> actual: März 1186s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1186s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1186s # %b -> expected: Mär 1186s # %b -> actual: Mär 1186s # %B -> expected: März 1186s # %B -> actual: März 1186s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1186s # End of format_mixed tests 1186s # Start of strftime tests 1186s # %r -> expected: (null) 1186s # %r -> actual: (null) 1186s ok 55 /GDateTime/strftime/error_handling 1186s # End of strftime tests 1186s # Start of eras tests 1186s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1186s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1186s # %EC -> expected: 令和 1186s # %EC -> actual: 令和 1186s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1186s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1186s # %EX -> expected: 00時00分00秒 1186s # %EX -> actual: 00時00分00秒 1186s # %Ey -> expected: 05 1186s # %Ey -> actual: 05 1186s # %EY -> expected: 令和05å¹´ 1186s # %EY -> actual: 令和05å¹´ 1186s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1186s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1186s # %EC -> expected: å¹³æˆ 1186s # %EC -> actual: å¹³æˆ 1186s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1186s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1186s # %EX -> expected: 00時00分00秒 1186s # %EX -> actual: 00時00分00秒 1186s # %Ey -> expected: 31 1186s # %Ey -> actual: 31 1186s # %EY -> expected: å¹³æˆ31å¹´ 1186s # %EY -> actual: å¹³æˆ31å¹´ 1186s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1186s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1186s # %EC -> expected: 昭和 1186s # %EC -> actual: 昭和 1186s # %Ex -> expected: 昭和元年12月25æ—¥ 1186s # %Ex -> actual: 昭和元年12月25æ—¥ 1186s # %EX -> expected: 00時00分00秒 1186s # %EX -> actual: 00時00分00秒 1186s # %Ey -> expected: 01 1186s # %Ey -> actual: 01 1186s # %EY -> expected: 昭和元年 1186s # %EY -> actual: 昭和元年 1186s ok 56 /GDateTime/eras/japan 1186s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1186s # Vector 0: 1186s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1186s # 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å¹´ 1186s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1186s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1186s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 8: + 1186s # Vector 9: +: 1186s # Vector 10: +:: 1186s # Vector 11: +:200 1186s # Vector 12: +:2nonsense 1186s # Vector 13: +:2nonsense: 1186s # Vector 14: +:2: 1186s # Vector 15: +:2:: 1186s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1186s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1186s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1186s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1186s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1186s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1186s # Vector 28: +:2:2020/01/01 1186s # Vector 29: +:2:2020/01/01: 1186s # Vector 30: +:2:2020/01/01:: 1186s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1186s # Vector 32: +:2:2020/01/01:+* 1186s # Vector 33: +:2:2020/01/01:+*: 1186s # Vector 34: +:2:2020/01/01:+*:: 1186s # Vector 35: +:2:2020/01/01:+*:令和 1186s # Vector 36: +:2:2020/01/01:+*:令和: 1186s # Vector 37: +:2:2020/01/01:+*:令和:; 1186s ok 58 /GDateTime/eras/parsing 1186s # End of eras tests 1186s # End of GDateTime tests 1186s # Start of GTimeZone tests 1186s ok 59 /GTimeZone/find-interval 1186s ok 60 /GTimeZone/adjust-time 1186s ok 61 /GTimeZone/no-header 1186s ok 62 /GTimeZone/no-header-identifier 1186s ok 63 /GTimeZone/posix-parse 1186s # Bug Reference: http://bugzilla.gnome.org/697715 1186s ok 64 /GTimeZone/floating-point 1186s # System time zone identifier: Etc/UTC 1186s ok 65 /GTimeZone/identifier 1186s # Vector 0: -158400 1186s # Vector 1: -10000 1186s # Vector 2: -3600 1186s # Vector 3: -61 1186s # Vector 4: -60 1186s # Vector 5: -59 1186s # Vector 6: 0 1186s # Vector 7: 59 1186s # Vector 8: 60 1186s # Vector 9: 61 1186s # Vector 10: 3600 1186s # Vector 11: 10000 1186s # Vector 12: 158400 1186s ok 66 /GTimeZone/new-offset 1186s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1186s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1186s ok 67 /GTimeZone/parse-rfc8536 1186s # /GTimeZone/caching summary: GTimeZone instances are cached 1186s ok 68 /GTimeZone/caching 1186s # End of GTimeZone tests 1186s ok - glib/gdatetime.test 1186s # Running test: glib/properties-refcount1.test 1186s TAP version 14 1186s # random seed: R02Saa37f966a21e2f5583c6cfc9edf030ee 1186s 1..1 1186s # Start of gobject tests 1186s # Start of refcount tests 1186s # .c 1186s # .d 1186s # .e 1186s # .b 1186s # .f 1186s # .c 1186s # .d 1187s # .b 1187s # .c 1187s # .e 1187s # .d 1187s # .f 1187s # .c 1187s # .d 1187s # .b 1187s # .e 1187s # .f 1187s # .c 1187s # .d 1187s # .c 1187s # .b 1187s # .e 1187s # .f 1187s # .d 1187s # .c 1187s # .d 1187s # .b 1187s # .e 1187s # .f 1187s # .c 1187s # .d 1187s # .e 1187s # .b 1187s # .f 1187s # .c 1187s # .d 1187s # .e 1187s # .f 1187s # .b 1187s # .c 1187s # .d 1187s # .e 1187s # .f 1187s # .b 1187s # .d 1187s # .c 1187s # .e 1187s # .f 1187s # .d 1187s # .b 1187s # .b 1187s # .c 1187s # .d 1187s # .e 1187s # .f 1187s # .d 1187s # .e 1187s # .b 1187s # .c 1187s # .f 1187s # .d 1187s # .b 1187s # .e 1187s # .c 1187s # .f 1187s # .d 1187s # .b 1187s # .e 1187s # .c 1187s # .f 1187s # .d 1187s # .b 1187s # .c 1187s # .e 1187s # .f 1187s # .b 1187s # .d 1187s # .c 1187s # .e 1187s # .f 1187s # .d 1187s # .b 1187s # .c 1187s # .e 1187s # .f 1187s # .d 1187s # .c 1187s # .f 1187s # .b 1187s # .e 1188s # .d 1188s # .c 1188s # .b 1188s # .f 1188s # .e 1188s # .c 1188s # .d 1188s # .b 1188s # .e 1188s # .f 1188s # .d 1188s # .c 1188s # .e 1188s # .d 1188s # .b 1188s # .c 1188s # .f 1188s # .b 1188s # .e 1188s # .c 1188s # .d 1188s # .f 1188s # .c 1188s # .b 1188s # .d 1188s # .e 1188s # .c 1188s # .b 1188s # .f 1188s # .d 1188s # .b 1188s # .e 1188s # .c 1188s # .b 1188s # .f 1188s # .b 1188s # .d 1188s # .b 1188s # .e 1188s # .c 1188s # .d 1188s # .f 1188s # .d 1188s # .b 1188s # .e 1188s # .c 1188s # .d 1188s # .f 1188s # .b 1188s # .e 1188s # .c 1188s # .f 1188s # .d 1188s # .e 1188s # .b 1188s # .f 1188s # .c 1188s # .d 1188s # .b 1188s # .e 1188s # .f 1188s # .c 1188s # .d 1188s # .e 1188s # .c 1188s # .b 1188s # .f 1188s # .d 1188s # .c 1188s # .b 1188s # .e 1188s # .f 1188s # .c 1188s # .d 1188s # .e 1188s # .b 1188s # .f 1188s # .c 1188s # .d 1188s # .e 1188s # .b 1188s # .f 1189s # .c 1189s # .d 1189s # .b 1189s # .f 1189s # .e 1189s # .c 1189s # .c 1189s # .d 1189s # .f 1189s # .e 1189s # .b 1189s # .c 1189s # .e 1189s # .f 1189s # .c 1189s # .b 1189s # .d 1189s # .f 1189s # .d 1189s # .e 1189s # .c 1189s # .b 1189s # .f 1189s # .d 1189s # .e 1189s # .c 1189s # .b 1189s # .f 1189s # .d 1189s # .b 1189s # .c 1189s # .e 1189s # .f 1189s # .d 1189s # .b 1189s # .e 1189s # .c 1189s # .d 1189s # .f 1189s # .b 1189s # .e 1189s # .c 1189s # .d 1189s # .f 1189s # .b 1189s # .e 1189s # .c 1189s # .d 1189s # .b 1189s # .e 1189s # .c 1189s # .f 1189s # .b 1189s # .d 1189s # .f 1189s # .c 1189s # .e 1189s # .b 1189s # .f 1189s # .d 1189s # .c 1189s # .e 1189s # .b 1189s # .c 1189s # .e 1189s # .f 1189s ok 1 /gobject/refcount/properties-1 1189s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1189s # End of refcount tests 1189s # End of gobject tests 1189s ok - glib/properties-refcount1.test 1189s # Running test: glib/rcbox.test 1189s TAP version 14 1189s # random seed: R02S8028c547decdbd8ceb338c409d4200ca 1189s 1..8 1189s # Start of rcbox tests 1189s ok 1 /rcbox/new 1189s # global_point = 0xb58b88df68d0 1189s ok 2 /rcbox/release-full 1189s # global_point_a = 0xb58b88df68d0 1189s # global_point_b = 0xb58b88df6890 1189s ok 3 /rcbox/dup 1189s ok 4 /rcbox/alignment 1189s # End of rcbox tests 1189s # Start of atomic-rcbox tests 1189s ok 5 /atomic-rcbox/new 1189s # global_point = 0xb58b88df6aa0 1189s ok 6 /atomic-rcbox/release-full 1189s # global_point_a = 0xb58b88df6aa0 1189s # global_point_b = 0xb58b88df6a60 1189s ok 7 /atomic-rcbox/dup 1189s ok 8 /atomic-rcbox/alignment 1189s # End of atomic-rcbox tests 1189s ok - glib/rcbox.test 1189s # Running test: glib/markup.test 1189s TAP version 14 1189s # random seed: R02Sc216ba172d5a81f352a85cac36ffa7aa 1189s 1..1 1189s # Start of markup tests 1189s ok 1 /markup/stack 1189s # End of markup tests 1189s ok - glib/markup.test 1189s # Running test: glib/strvbuilder.test 1189s # Executing: glib/strvbuilder.test 1189s TAP version 14 1189s # random seed: R02Sc48e4e60c749b69c2dfd091116f8048f 1189s 1..7 1189s # Start of strvbuilder tests 1189s ok 1 /strvbuilder/empty 1189s ok 2 /strvbuilder/add 1189s ok 3 /strvbuilder/addv 1189s ok 4 /strvbuilder/add_many 1189s ok 5 /strvbuilder/take 1189s ok 6 /strvbuilder/ref 1189s ok 7 /strvbuilder/unref_to_strv 1189s # End of strvbuilder tests 1189s ok - glib/strvbuilder.test 1189s # Running test: glib/scannerapi.test 1189s TAP version 14 1189s # random seed: R02S99283d7bceb7bd5ef3270c45cea8ff64 1189s 1..4 1189s # Start of scanner tests 1189s ok 1 /scanner/warn 1189s ok 2 /scanner/error 1189s ok 3 /scanner/symbols 1189s ok 4 /scanner/tokens 1189s # End of scanner tests 1189s ok - glib/scannerapi.test 1189s # Running test: glib/autoptr.test 1189s TAP version 14 1189s # random seed: R02S815c48827aa078e46456fc30911ffd63 1189s 1..6 1189s # Start of autoptr tests 1189s ok 1 /autoptr/autoptr 1189s ok 2 /autoptr/autoptr_steal 1189s ok 3 /autoptr/autolist 1189s ok 4 /autoptr/autoslist 1189s ok 5 /autoptr/autoqueue 1189s ok 6 /autoptr/autoclass 1189s # End of autoptr tests 1189s ok - glib/autoptr.test 1189s # Running test: glib/signalgroup.test 1189s TAP version 14 1189s # random seed: R02S6e70e16bc36f69066f2386e5c1cf8e2d 1189s 1..9 1189s # Start of GObject tests 1189s # Start of SignalGroup tests 1189s ok 1 /GObject/SignalGroup/invalid 1189s ok 2 /GObject/SignalGroup/simple 1189s ok 3 /GObject/SignalGroup/changing-target 1189s ok 4 /GObject/SignalGroup/blocking 1189s ok 5 /GObject/SignalGroup/weak-ref-target 1189s ok 6 /GObject/SignalGroup/connect-object 1189s ok 7 /GObject/SignalGroup/signal-parsing 1189s ok 8 /GObject/SignalGroup/properties 1189s ok 9 /GObject/SignalGroup/interface 1189s # Start of signal-parsing tests 1189s # End of signal-parsing tests 1189s # End of SignalGroup tests 1189s # End of GObject tests 1189s ok - glib/signalgroup.test 1189s # Running test: glib/g-file.test 1189s TAP version 14 1189s # random seed: R02S6394d58d4040fb337665539d528e341b 1189s 1..8 1189s # Start of g-file tests 1189s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1189s ok 1 /g-file/test_g_file_new_null 1189s ok 2 /g-file/test_g_file_new_for_path 1189s ok 3 /g-file/test_g_file_new_for_uri 1189s ok 4 /g-file/test_g_file_dup 1189s ok 5 /g-file/test_g_file_get_parse_name_utf8 1189s file:///tmp/test-tmp-glib_g-file.test-GL1712 1189s file:///tmp 1189s file:///tmp 1189s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1189s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1189s ok 6 /g-file/test_g_file_new_for_commandline_arg 1189s /dir1 /dir1/dir2/dir3/ 1189s /dir1/ /dir1/dir2/dir3/ 1189s /dir1 /dir1/dir2/dir3 1189s /dir1/ /dir1/dir2/dir3 1189s /tmp/ /something/ 1189s /dir1/dir2 /dir1/ 1189s //dir1/new //dir1/new/dir2/dir3 1189s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1189s file:///dir1 file:///dir1/dir2/dir3/ 1189s file:///dir1/ file:///dir1/dir2/dir3/ 1189s file:///dir1 file:///dir1/dir2/dir3 1189s file:///dir1/ file:///dir1/dir2/dir3 1189s file:///tmp/ file:///something/ 1189s file:///dir1/dir2 file:///dir1/ 1189s file:////dir1/new file:////dir1/new/dir2/dir3 1189s 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 1189s ok 7 /g-file/test_g_file_has_prefix 1189s ok 8 /g-file/test_g_file_get_parent_child 1189s # End of g-file tests 1189s ok - glib/g-file.test 1189s # Running test: glib/gnotification.test 1189s TAP version 14 1189s # random seed: R02Sfc87c2413700d3a3bd9f22388e12aa14 1189s 1..2 1189s # Start of gnotification tests 1189s ok 1 /gnotification/basic 1189s ok 2 /gnotification/properties 1189s # End of gnotification tests 1189s ok - glib/gnotification.test 1189s # Running test: glib/basics-gobject.test 1189s TAP version 14 1189s # random seed: R02Sda5c30c98a4bb1a0c9917156296bbf5c 1189s 1..1 1189s # Start of gobject tests 1189s # private data during initialization: 54321 == 54321 1189s # MAIN: emit test-signal: 1189s # ::test_signal default_handler called 1189s # ::test_signal default_handler called 1189s # ::test_signal default_handler called 1189s # signal return: "" 1189s # MAIN: call iface print-string on test and derived object: 1189s # Iface-FOO: "iface-string-from-test-type" from 0xb64f68ed87b0 1189s # Iface-BAR: "iface-string-from-derived-type" from 0xb64f68ed86d0 1189s # chaining: 1189s # Iface-FOO: "iface-string-from-derived-type" from 0xb64f68ed86d0 1189s # private data after initialization: 54321 == 54321 1189s ok 1 /gobject/basics 1189s # End of gobject tests 1189s ok - glib/basics-gobject.test 1189s # Running test: glib/testing-nonfatal.test 1189s TAP version 14 1189s # random seed: R02S9961b207a8465267e224abcc0279c3a7 1189s ** 1189s GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 1189s # GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 1189s ok - glib/testing-nonfatal.test 1189s # Running test: glib/power-profile-monitor.test 1189s TAP version 14 1189s # random seed: R02S3a8cb818e79718f69074bfc797339508 1189s 1..1 1189s # Start of power-profile-monitor tests 1189s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1189s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1189s ok 1 /power-profile-monitor/default 1189s # End of power-profile-monitor tests 1189s ok - glib/power-profile-monitor.test 1189s # Running test: glib/spawn-path-search.test 1189s TAP version 14 1189s # random seed: R02S39b75811c95d5833308f29fe132fac0a 1189s 1..7 1189s # Start of spawn tests 1189s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1189s # 1189s # this is spawn-test-helper from glib/tests 1189s # 1189s ok 1 /spawn/do-not-search 1189s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1189s # 1189s # this is spawn-test-helper from path-test-subdir 1189s # 1189s ok 2 /spawn/search-path 1189s # /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. 1189s # 1189s # this is spawn-test-helper from path-test-subdir 1189s # 1189s ok 3 /spawn/search-path-from-envp 1189s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1189s # 1189s # this is spawn-test-helper from path-test-subdir 1189s # 1189s ok 4 /spawn/search-path-ambiguous 1189s # 1189s # this is spawn-test-helper from path-test-subdir 1189s # 1189s ok 5 /spawn/search-path-heap-allocation 1189s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1189s # 1189s # this is spawn-test-helper from glib/tests 1189s # 1189s ok 6 /spawn/search-path-fallback-in-environ 1189s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1189s # 1189s # this is spawn-test-helper from glib/tests 1189s # 1189s ok 7 /spawn/search-path-fallback-in-envp 1189s # End of spawn tests 1189s ok - glib/spawn-path-search.test 1189s # Running test: glib/bytes.test 1189s TAP version 14 1189s # random seed: R02Sd18e08768ec8b180572253570b062b2d 1189s 1..21 1189s # Start of bytes tests 1189s ok 1 /bytes/new 1189s ok 2 /bytes/new-take 1189s ok 3 /bytes/new-static 1189s ok 4 /bytes/new-with-free-func 1189s ok 5 /bytes/new-from-bytes 1189s ok 6 /bytes/new-from-bytes-slice 1189s ok 7 /bytes/new-from-bytes-shared-ref 1189s ok 8 /bytes/hash 1189s ok 9 /bytes/equal 1189s ok 10 /bytes/compare 1189s ok 11 /bytes/null 1189s ok 12 /bytes/get-region 1189s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1189s ok 13 /bytes/unref-null 1189s # Start of to-data tests 1189s ok 14 /bytes/to-data/transferred 1189s ok 15 /bytes/to-data/two-refs 1189s ok 16 /bytes/to-data/non-malloc 1189s ok 17 /bytes/to-data/different-free-func 1189s # End of to-data tests 1189s # Start of to-array tests 1189s ok 18 /bytes/to-array/transferred 1189s ok 19 /bytes/to-array/two-refs 1189s ok 20 /bytes/to-array/non-malloc 1189s # Start of transferred tests 1189s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1189s ok 21 /bytes/to-array/transferred/oversize 1189s # End of transferred tests 1189s # End of to-array tests 1189s # End of bytes tests 1189s ok - glib/bytes.test 1189s # Running test: glib/utils-c-89.test 1189s TAP version 14 1189s # random seed: R02S86934a4675e279eb5bb4da995e03a981 1189s 1..41 1189s # Start of utils tests 1189s ok 1 /utils/language-names 1189s ok 2 /utils/locale-variants 1189s ok 3 /utils/version 1189s ok 4 /utils/appname 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1189s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1189s ok 5 /utils/prgname-thread-safety 1189s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1189s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1189s ok 6 /utils/tmpdir 1189s ok 7 /utils/basic_bits 1189s ok 8 /utils/bits 1189s ok 9 /utils/swap 1189s ok 10 /utils/find-program 1189s ok 11 /utils/find-program-for-path 1189s ok 12 /utils/debug 1189s ok 13 /utils/codeset 1189s ok 14 /utils/codeset2 1189s ok 15 /utils/console-charset 1189s ok 16 /utils/gettext 1189s ok 17 /utils/username 1189s ok 18 /utils/realname 1189s ok 19 /utils/hostname 1189s ok 20 /utils/xdgdirs 1189s ok 21 /utils/specialdir 1189s # NAME: Ubuntu 1189s ok 22 /utils/os-info 1189s ok 23 /utils/clear-pointer 1189s ok 24 /utils/clear-pointer-cast 1189s ok 25 /utils/take-pointer 1189s ok 26 /utils/clear-source 1189s ok 27 /utils/misc-mem 1189s # /utils/aligned-mem summary: Aligned memory allocator 1189s # Alignment must not be zero 1190s # Alignment must be a power of two 1190s # Alignment must be a multiple of sizeof(void*) 1190s ok 28 /utils/aligned-mem 1190s # /utils/free-sized summary: Check that g_free_sized() works 1190s ok 29 /utils/free-sized 1190s ok 30 /utils/nullify 1190s ok 31 /utils/atexit 1190s ok 32 /utils/check-setuid 1190s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1190s ok 33 /utils/int-limits 1190s ok 34 /utils/clear-list 1190s ok 35 /utils/clear-slist 1190s ok 36 /utils/steal-handle-id 1190s # Start of specialdir tests 1190s ok 37 /utils/specialdir/desktop 1190s # End of specialdir tests 1190s # Start of clear-pointer tests 1190s ok 38 /utils/clear-pointer/side-effects 1190s # End of clear-pointer tests 1190s # Start of aligned-mem tests 1190s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1190s ok 39 /utils/aligned-mem/alignment 1190s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1190s ok 40 /utils/aligned-mem/zeroed 1190s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1190s ok 41 /utils/aligned-mem/free-sized 1190s # Start of subprocess tests 1190s # End of subprocess tests 1190s # End of aligned-mem tests 1190s # End of utils tests 1190s ok - glib/utils-c-89.test 1190s # Running test: glib/queue.test 1190s TAP version 14 1190s # random seed: R02S1fd8c57d88e05f04ce54309cbf159d12 1190s 1..12 1190s # Start of queue tests 1190s ok 1 /queue/basic 1190s ok 2 /queue/copy 1190s ok 3 /queue/off-by-one 1190s ok 4 /queue/find-custom 1190s ok 5 /queue/static 1190s ok 6 /queue/clear 1190s ok 7 /queue/free-full 1190s ok 8 /queue/clear-full 1190s ok 9 /queue/insert-sibling-link 1190s ok 10 /queue/push-nth-link 1190s # Start of clear-full tests 1190s ok 11 /queue/clear-full/noop 1190s # End of clear-full tests 1190s # Start of random tests 1190s ok 12 /queue/random/seed:834594526 1190s # End of random tests 1190s # End of queue tests 1190s ok - glib/queue.test 1190s # Running test: glib/testing.test 1190s TAP version 14 1190s # random seed: R02S1964277583e93794adab9c4563881ee3 1190s 1..1 1190s # Start of assert tests 1190s ok 1 /assert/finalize_object 1190s # Start of finalize_object tests 1190s # Start of subprocess tests 1190s # End of subprocess tests 1190s # End of finalize_object tests 1190s # End of assert tests 1190s ok - glib/testing.test 1190s # Running test: glib/bindinggroup.test 1190s TAP version 14 1190s # random seed: R02S612fad92e53c7e64c50197ad5a3b322b 1190s 1..11 1190s # Start of GObject tests 1190s # Start of BindingGroup tests 1190s ok 1 /GObject/BindingGroup/invalid 1190s ok 2 /GObject/BindingGroup/default 1190s ok 3 /GObject/BindingGroup/bidirectional 1190s ok 4 /GObject/BindingGroup/transform 1190s ok 5 /GObject/BindingGroup/transform-closures 1190s ok 6 /GObject/BindingGroup/same-object 1190s ok 7 /GObject/BindingGroup/weak-ref-source 1190s ok 8 /GObject/BindingGroup/weak-ref-target 1190s ok 9 /GObject/BindingGroup/properties 1190s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1190s ok 11 /GObject/BindingGroup/empty-closures 1190s # End of BindingGroup tests 1190s # End of GObject tests 1190s ok - glib/bindinggroup.test 1190s # Running test: glib/refcount-macro.test 1190s TAP version 14 1190s # random seed: R02S0092cd8339b87134d175355401e4e844 1190s 1..4 1190s # Start of refcount tests 1190s ok 1 /refcount/grefcount 1190s ok 2 /refcount/gatomicrefcount 1190s # Start of grefcount tests 1190s ok 3 /refcount/grefcount/saturation 1190s # End of grefcount tests 1190s # Start of gatomicrefcount tests 1190s ok 4 /refcount/gatomicrefcount/saturation 1190s # End of gatomicrefcount tests 1190s # End of refcount tests 1190s ok - glib/refcount-macro.test 1190s # Running test: glib/gdbus-non-socket.test 1190s TAP version 14 1190s # random seed: R02Sacf531cd86ae9bf263a493308d76c062 1190s 1..1 1190s # Start of gdbus tests 1190s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/home 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/cache 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/system-config2 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/config 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/system-data2 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/data 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/state 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_KRQE22/gdbus/non-socket/.dirs/runtime 1190s ok 1 /gdbus/non-socket 1190s # End of gdbus tests 1190s ok - glib/gdbus-non-socket.test 1190s # Running test: glib/gdbus-sasl.test 1190s TAP version 14 1190s # random seed: R02Sba6188e8ce908e2b6420d69fbb2b1fd5 1190s 1..1 1190s # Start of gdbus tests 1190s # Start of sasl tests 1190s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/home 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/cache 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/system-config2 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/config 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/system-data2 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/data 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/state 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_47AE22/gdbus/sasl/server/.dirs/runtime 1190s # New handshake: EXTERNAL with incorrect initial response 1190s # C:“AUTH EXTERNAL 30†1190s # Expect: /^REJECTED.*$/ 1190s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1190s # New handshake: EXTERNAL without initial response, failing to authenticate 1190s # C:“AUTH EXTERNAL†1190s # Expect: /^DATA$/ 1190s # S:“DATA†1190s # C:“DATA 30†1190s # Expect: /^REJECTED.*$/ 1190s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1190s # New handshake: EXTERNAL with initial response 1190s # C:“AUTH EXTERNAL 31303030†1190s # Expect: /^OK [0-9a-f]+$/ 1190s # S:“OK f5b6c5619e1ef45dccc3f3d867b8f6e6†1190s # New handshake: EXTERNAL without initial response 1190s # C:“AUTH EXTERNAL†1190s # Expect: /^DATA$/ 1190s # S:“DATA†1190s # C:“DATA 31303030†1190s # Expect: /^OK [0-9a-f]+$/ 1190s # S:“OK f5b6c5619e1ef45dccc3f3d867b8f6e6†1190s # New handshake: EXTERNAL with empty authorization identity 1190s # C:“AUTH EXTERNAL†1190s # Expect: /^DATA$/ 1190s # S:“DATA†1190s # C:“DATA†1190s # Expect: /^OK [0-9a-f]+$/ 1190s # S:“OK f5b6c5619e1ef45dccc3f3d867b8f6e6†1190s # New handshake: EXTERNAL with empty authorization identity and whitespace 1190s # C:“AUTH EXTERNAL†1190s # Expect: /^DATA$/ 1190s # S:“DATA†1190s # C:“DATA †1190s # Expect: /^OK [0-9a-f]+$/ 1190s # S:“OK f5b6c5619e1ef45dccc3f3d867b8f6e6†1190s ok 1 /gdbus/sasl/server 1190s # End of sasl tests 1190s # End of gdbus tests 1190s ok - glib/gdbus-sasl.test 1190s # Running test: glib/genmarshal.py.test 1190s TAP version 13 1190s ok 1 __main__.TestGenmarshal.test_empty_list 1190s # tmpdir: /tmp/tmpn6bsvk8w 1190s # genmarshal: /usr/bin/glib-genmarshal 1190s # /tmp/tmpn6bsvk8w/tmpba6a_zqu.list: 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpn6bsvk8w/tmpba6a_zqu.list', '--header', '--quiet'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # 1190s # #include 1190s # 1190s # G_BEGIN_DECLS 1190s # 1190s # 1190s # G_END_DECLS 1190s # 1190s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpn6bsvk8w/tmpba6a_zqu.list', '--body', '--quiet'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #include 1190s # 1190s # #ifdef G_ENABLE_DEBUG 1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1190s # #else /* !G_ENABLE_DEBUG */ 1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1190s # * Do not access GValues directly in your code. Instead, use the 1190s # * g_value_get_*() functions 1190s # */ 1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1190s # #endif /* !G_ENABLE_DEBUG */ 1190s ok 2 __main__.TestGenmarshal.test_help 1190s # tmpdir: /tmp/tmp0999taek 1190s # genmarshal: /usr/bin/glib-genmarshal 1190s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1190s # [--internal] [--valist-marshallers] [-v] 1190s # [--g-fatal-warnings] [--include-header [HEADER]] 1190s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1190s # [--prototypes] [--header] [--body] [--stdinc | 1190s # --nostdinc] [--quiet | --verbose] 1190s # [FILE ...] 1190s # 1190s # Generate signal marshallers for GObject 1190s # 1190s # positional arguments: 1190s # FILE Files with lists of marshallers to generate, or "-" 1190s # for standard input 1190s # 1190s # options: 1190s # -h, --help show this help message and exit 1190s # --prefix STRING Specify marshaller prefix 1190s # --output FILE Write output into the specified file 1190s # --skip-source Skip source location comments 1190s # --internal Mark generated functions as internal 1190s # --valist-marshallers Generate va_list marshallers 1190s # -v, --version Print version information, and exit 1190s # --g-fatal-warnings Make warnings fatal 1190s # --include-header [HEADER] 1190s # Include the specified header in the body 1190s # --pragma-once Use "pragma once" as the inclusion guard 1190s # -D CPP_DEFINES Pre-processor define 1190s # -U CPP_UNDEFINES Pre-processor undefine 1190s # --prototypes Generate the marshallers prototype in the C code 1190s # --header Generate C headers 1190s # --body Generate C code 1190s # --stdinc Include standard marshallers 1190s # --nostdinc Use standard marshallers 1190s # --quiet Only print warnings and errors 1190s # --verbose Be verbose, and include debugging information 1190s ok 3 __main__.TestGenmarshal.test_no_args 1190s # tmpdir: /tmp/tmp5su6cmt1 1190s # genmarshal: /usr/bin/glib-genmarshal 1190s # Running: ['/usr/bin/glib-genmarshal'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # Output: 1190s ok 4 __main__.TestGenmarshal.test_void_boolean 1190s # tmpdir: /tmp/tmptj9v98s5 1190s # genmarshal: /usr/bin/glib-genmarshal 1190s # /tmp/tmptj9v98s5/tmpto1d6iab.list: VOID:BOOLEAN 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptj9v98s5/tmpto1d6iab.list', '--header', '--quiet'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # 1190s # #include 1190s # 1190s # G_BEGIN_DECLS 1190s # 1190s # /* VOID:BOOLEAN (/tmp/tmptj9v98s5/tmpto1d6iab.list:1) */ 1190s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1190s # 1190s # 1190s # G_END_DECLS 1190s # 1190s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptj9v98s5/tmpto1d6iab.list', '--body', '--quiet'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #include 1190s # 1190s # #ifdef G_ENABLE_DEBUG 1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1190s # #else /* !G_ENABLE_DEBUG */ 1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1190s # * Do not access GValues directly in your code. Instead, use the 1190s # * g_value_get_*() functions 1190s # */ 1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1190s # #endif /* !G_ENABLE_DEBUG */ 1190s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1190s # tmpdir: /tmp/tmpky26fjkh 1190s # genmarshal: /usr/bin/glib-genmarshal 1190s # /tmp/tmpky26fjkh/tmpyes9lrzw.list: VOID:BOOLEAN,INT64 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpky26fjkh/tmpyes9lrzw.list', '--header', '--quiet'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # 1190s # #include 1190s # 1190s # G_BEGIN_DECLS 1190s # 1190s # /* VOID:BOOLEAN,INT64 (/tmp/tmpky26fjkh/tmpyes9lrzw.list:1) */ 1190s # extern 1190s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1190s # GValue *return_value, 1190s # guint n_param_values, 1190s # const GValue *param_values, 1190s # gpointer invocation_hint, 1190s # gpointer marshal_data); 1190s # 1190s # 1190s # G_END_DECLS 1190s # 1190s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpky26fjkh/tmpyes9lrzw.list', '--body', '--quiet'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #include 1190s # 1190s # #ifdef G_ENABLE_DEBUG 1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1190s # #else /* !G_ENABLE_DEBUG */ 1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1190s # * Do not access GValues directly in your code. Instead, use the 1190s # * g_value_get_*() functions 1190s # */ 1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1190s # #endif /* !G_ENABLE_DEBUG */ 1190s # 1190s # /* VOID:BOOLEAN,INT64 (/tmp/tmpky26fjkh/tmpyes9lrzw.list:1) */ 1190s # void 1190s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1190s # GValue *return_value G_GNUC_UNUSED, 1190s # guint n_param_values, 1190s # const GValue *param_values, 1190s # gpointer invocation_hint G_GNUC_UNUSED, 1190s # gpointer marshal_data) 1190s # { 1190s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1190s # gboolean arg1, 1190s # gint64 arg2, 1190s # gpointer data2); 1190s # GCClosure *cc = (GCClosure *) closure; 1190s # gpointer data1, data2; 1190s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1190s # 1190s # g_return_if_fail (n_param_values == 3); 1190s # 1190s # if (G_CCLOSURE_SWAP_DATA (closure)) 1190s # { 1190s # data1 = closure->data; 1190s # data2 = g_value_peek_pointer (param_values + 0); 1190s # } 1190s # else 1190s # { 1190s # data1 = g_value_peek_pointer (param_values + 0); 1190s # data2 = closure->data; 1190s # } 1190s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1190s # 1190s # callback (data1, 1190s # g_marshal_value_peek_boolean (param_values + 1), 1190s # g_marshal_value_peek_int64 (param_values + 2), 1190s # data2); 1190s # } 1190s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1190s # tmpdir: /tmp/tmpngh5fwkt 1190s # genmarshal: /usr/bin/glib-genmarshal 1190s # /tmp/tmpngh5fwkt/tmpbum2i7oo.list: VOID:PARAM 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpngh5fwkt/tmpbum2i7oo.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # 1190s # G_BEGIN_DECLS 1190s # 1190s # /* VOID:PARAM (/tmp/tmpngh5fwkt/tmpbum2i7oo.list:1) */ 1190s # extern 1190s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1190s # GValue *return_value, 1190s # guint n_param_values, 1190s # const GValue *param_values, 1190s # gpointer invocation_hint, 1190s # gpointer marshal_data); 1190s # extern 1190s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1190s # GValue *return_value, 1190s # gpointer instance, 1190s # va_list args, 1190s # gpointer marshal_data, 1190s # int n_params, 1190s # GType *param_types); 1190s # 1190s # 1190s # G_END_DECLS 1190s # 1190s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpngh5fwkt/tmpbum2i7oo.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #ifdef G_ENABLE_DEBUG 1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1190s # #else /* !G_ENABLE_DEBUG */ 1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1190s # * Do not access GValues directly in your code. Instead, use the 1190s # * g_value_get_*() functions 1190s # */ 1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1190s # #endif /* !G_ENABLE_DEBUG */ 1190s # 1190s # /* VOID:PARAM (/tmp/tmpngh5fwkt/tmpbum2i7oo.list:1) */ 1190s # void 1190s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1190s # GValue *return_value G_GNUC_UNUSED, 1190s # guint n_param_values, 1190s # const GValue *param_values, 1190s # gpointer invocation_hint G_GNUC_UNUSED, 1190s # gpointer marshal_data) 1190s # { 1190s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1190s # gpointer arg1, 1190s # gpointer data2); 1190s # GCClosure *cc = (GCClosure *) closure; 1190s # gpointer data1, data2; 1190s # GMarshalFunc_VOID__PARAM callback; 1190s # 1190s # g_return_if_fail (n_param_values == 2); 1190s # 1190s # if (G_CCLOSURE_SWAP_DATA (closure)) 1190s # { 1190s # data1 = closure->data; 1190s # data2 = g_value_peek_pointer (param_values + 0); 1190s # } 1190s # else 1190s # { 1190s # data1 = g_value_peek_pointer (param_values + 0); 1190s # data2 = closure->data; 1190s # } 1190s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1190s # 1190s # callback (data1, 1190s # g_marshal_value_peek_param (param_values + 1), 1190s # data2); 1190s # } 1190s # 1190s # void 1190s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1190s # GValue *return_value G_GNUC_UNUSED, 1190s # gpointer instance, 1190s # va_list args, 1190s # gpointer marshal_data, 1190s # int n_params, 1190s # GType *param_types) 1190s # { 1190s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1190s # gpointer arg1, 1190s # gpointer data2); 1190s # GCClosure *cc = (GCClosure *) closure; 1190s # gpointer data1, data2; 1190s # GMarshalFunc_VOID__PARAM callback; 1190s # gpointer arg0; 1190s # va_list args_copy; 1190s # 1190s # va_copy (args_copy, args); 1190s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1190s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1190s # arg0 = g_param_spec_ref (arg0); 1190s # va_end (args_copy); 1190s # 1190s # 1190s # if (G_CCLOSURE_SWAP_DATA (closure)) 1190s # { 1190s # data1 = closure->data; 1190s # data2 = instance; 1190s # } 1190s # else 1190s # { 1190s # data1 = instance; 1190s # data2 = closure->data; 1190s # } 1190s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1190s # 1190s # callback (data1, 1190s # arg0, 1190s # data2); 1190s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1190s # g_param_spec_unref (arg0); 1190s # } 1190s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1190s # tmpdir: /tmp/tmp04m149e_ 1190s # genmarshal: /usr/bin/glib-genmarshal 1190s # /tmp/tmp04m149e_/tmprp6p893h.list: VOID:STRING 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp04m149e_/tmprp6p893h.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # 1190s # G_BEGIN_DECLS 1190s # 1190s # /* VOID:STRING (/tmp/tmp04m149e_/tmprp6p893h.list:1) */ 1190s # extern 1190s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1190s # GValue *return_value, 1190s # guint n_param_values, 1190s # const GValue *param_values, 1190s # gpointer invocation_hint, 1190s # gpointer marshal_data); 1190s # extern 1190s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1190s # GValue *return_value, 1190s # gpointer instance, 1190s # va_list args, 1190s # gpointer marshal_data, 1190s # int n_params, 1190s # GType *param_types); 1190s # 1190s # 1190s # G_END_DECLS 1190s # 1190s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp04m149e_/tmprp6p893h.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #ifdef G_ENABLE_DEBUG 1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1190s # #else /* !G_ENABLE_DEBUG */ 1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1190s # * Do not access GValues directly in your code. Instead, use the 1190s # * g_value_get_*() functions 1190s # */ 1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1190s # #endif /* !G_ENABLE_DEBUG */ 1190s # 1190s # /* VOID:STRING (/tmp/tmp04m149e_/tmprp6p893h.list:1) */ 1190s # void 1190s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1190s # GValue *return_value G_GNUC_UNUSED, 1190s # guint n_param_values, 1190s # const GValue *param_values, 1190s # gpointer invocation_hint G_GNUC_UNUSED, 1190s # gpointer marshal_data) 1190s # { 1190s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1190s # gpointer arg1, 1190s # gpointer data2); 1190s # GCClosure *cc = (GCClosure *) closure; 1190s # gpointer data1, data2; 1190s # GMarshalFunc_VOID__STRING callback; 1190s # 1190s # g_return_if_fail (n_param_values == 2); 1190s # 1190s # if (G_CCLOSURE_SWAP_DATA (closure)) 1190s # { 1190s # data1 = closure->data; 1190s # data2 = g_value_peek_pointer (param_values + 0); 1190s # } 1190s # else 1190s # { 1190s # data1 = g_value_peek_pointer (param_values + 0); 1190s # data2 = closure->data; 1190s # } 1190s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1190s # 1190s # callback (data1, 1190s # g_marshal_value_peek_string (param_values + 1), 1190s # data2); 1190s # } 1190s # 1190s # void 1190s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1190s # GValue *return_value G_GNUC_UNUSED, 1190s # gpointer instance, 1190s # va_list args, 1190s # gpointer marshal_data, 1190s # int n_params, 1190s # GType *param_types) 1190s # { 1190s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1190s # gpointer arg1, 1190s # gpointer data2); 1190s # GCClosure *cc = (GCClosure *) closure; 1190s # gpointer data1, data2; 1190s # GMarshalFunc_VOID__STRING callback; 1190s # gpointer arg0; 1190s # va_list args_copy; 1190s # 1190s # va_copy (args_copy, args); 1190s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1190s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1190s # arg0 = g_strdup (arg0); 1190s # va_end (args_copy); 1190s # 1190s # 1190s # if (G_CCLOSURE_SWAP_DATA (closure)) 1190s # { 1190s # data1 = closure->data; 1190s # data2 = instance; 1190s # } 1190s # else 1190s # { 1190s # data1 = instance; 1190s # data2 = closure->data; 1190s # } 1190s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1190s # 1190s # callback (data1, 1190s # arg0, 1190s # data2); 1190s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1190s # g_free (arg0); 1190s # } 1190s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1190s # tmpdir: /tmp/tmpuz70o6hd 1190s # genmarshal: /usr/bin/glib-genmarshal 1190s # /tmp/tmpuz70o6hd/tmpgc12ko0j.list: VOID:VARIANT 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuz70o6hd/tmpgc12ko0j.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1190s # 1190s # G_BEGIN_DECLS 1190s # 1190s # /* VOID:VARIANT (/tmp/tmpuz70o6hd/tmpgc12ko0j.list:1) */ 1190s # extern 1190s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1190s # GValue *return_value, 1190s # guint n_param_values, 1190s # const GValue *param_values, 1190s # gpointer invocation_hint, 1190s # gpointer marshal_data); 1190s # extern 1190s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1190s # GValue *return_value, 1190s # gpointer instance, 1190s # va_list args, 1190s # gpointer marshal_data, 1190s # int n_params, 1190s # GType *param_types); 1190s # 1190s # 1190s # G_END_DECLS 1190s # 1190s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1190s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuz70o6hd/tmpgc12ko0j.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1190s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1190s # 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. */ 1190s # #ifdef G_ENABLE_DEBUG 1190s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1190s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1190s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1190s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1190s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1190s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1190s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1190s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1190s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1190s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1190s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1190s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1190s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1190s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1190s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1190s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1190s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1190s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1190s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1190s # #else /* !G_ENABLE_DEBUG */ 1190s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1190s # * Do not access GValues directly in your code. Instead, use the 1190s # * g_value_get_*() functions 1190s # */ 1190s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1190s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1190s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1190s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1190s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1190s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1190s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1190s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1190s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1190s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1190s # #endif /* !G_ENABLE_DEBUG */ 1190s # 1190s # /* VOID:VARIANT (/tmp/tmpuz70o6hd/tmpgc12ko0j.list:1) */ 1190s # void 1190s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1190s # GValue *return_value G_GNUC_UNUSED, 1190s # guint n_param_values, 1190s # const GValue *param_values, 1190s # gpointer invocation_hint G_GNUC_UNUSED, 1190s # gpointer marshal_data) 1190s # { 1190s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1190s # gpointer arg1, 1190s # gpointer data2); 1190s # GCClosure *cc = (GCClosure *) closure; 1190s # gpointer data1, data2; 1190s # GMarshalFunc_VOID__VARIANT callback; 1190s # 1190s # g_return_if_fail (n_param_values == 2); 1190s # 1190s # if (G_CCLOSURE_SWAP_DATA (closure)) 1190s # { 1190s # data1 = closure->data; 1190s # data2 = g_value_peek_pointer (param_values + 0); 1190s # } 1190s # else 1190s # { 1190s # data1 = g_value_peek_pointer (param_values + 0); 1190s # data2 = closure->data; 1190s # } 1190s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1190s # 1190s # callback (data1, 1190s # g_marshal_value_peek_variant (param_values + 1), 1190s # data2); 1190s # } 1190s # 1190s # void 1190s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1190s # GValue *return_value G_GNUC_UNUSED, 1190s # gpointer instance, 1190s # va_list args, 1190s # gpointer marshal_data, 1190s # int n_params, 1190s # GType *param_types) 1190s # { 1190s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1190s # gpointer arg1, 1190s # gpointer data2); 1190s # GCClosure *cc = (GCClosure *) closure; 1190s # gpointer data1, data2; 1190s # GMarshalFunc_VOID__VARIANT callback; 1190s # gpointer arg0; 1190s # va_list args_copy; 1190s # 1190s # va_copy (args_copy, args); 1190s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1190s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1190s # arg0 = g_variant_ref_sink (arg0); 1190s # va_end (args_copy); 1190s # 1190s # 1190s # if (G_CCLOSURE_SWAP_DATA (closure)) 1190s # { 1190s # data1 = closure->data; 1190s # data2 = instance; 1190s # } 1190s # else 1190s # { 1190s # data1 = instance; 1190s # data2 = closure->data; 1190s # } 1190s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1190s # 1190s # callback (data1, 1190s # arg0, 1190s # data2); 1190s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1190s # g_variant_unref (arg0); 1190s # } 1190s 1..8 1190s ok - glib/genmarshal.py.test 1190s # Running test: glib/custom-dispatch.test 1190s TAP version 14 1190s # random seed: R02Sd8a1eea37d1a897e8a92444a4abc3604 1190s 1..2 1190s # Start of properties tests 1190s # Start of custom-dispatch tests 1190s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1190s ok 1 /properties/custom-dispatch/init 1190s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1190s ok 2 /properties/custom-dispatch/set 1190s # End of custom-dispatch tests 1190s # End of properties tests 1190s ok - glib/custom-dispatch.test 1190s # Running test: glib/utils-c-17.test 1190s TAP version 14 1190s # random seed: R02S42b8e0bf6043346d162d3b64449df4f2 1190s 1..41 1190s # Start of utils tests 1190s ok 1 /utils/language-names 1190s ok 2 /utils/locale-variants 1190s ok 3 /utils/version 1190s ok 4 /utils/appname 1190s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1190s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1190s ok 5 /utils/prgname-thread-safety 1190s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1190s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1190s ok 6 /utils/tmpdir 1190s ok 7 /utils/basic_bits 1190s ok 8 /utils/bits 1190s ok 9 /utils/swap 1190s ok 10 /utils/find-program 1190s ok 11 /utils/find-program-for-path 1190s ok 12 /utils/debug 1190s ok 13 /utils/codeset 1190s ok 14 /utils/codeset2 1190s ok 15 /utils/console-charset 1190s ok 16 /utils/gettext 1190s ok 17 /utils/username 1190s ok 18 /utils/realname 1190s ok 19 /utils/hostname 1190s ok 20 /utils/xdgdirs 1190s ok 21 /utils/specialdir 1190s # NAME: Ubuntu 1190s ok 22 /utils/os-info 1190s ok 23 /utils/clear-pointer 1190s ok 24 /utils/clear-pointer-cast 1190s ok 25 /utils/take-pointer 1190s ok 26 /utils/clear-source 1190s ok 27 /utils/misc-mem 1190s # /utils/aligned-mem summary: Aligned memory allocator 1190s # Alignment must not be zero 1190s # Alignment must be a power of two 1190s # Alignment must be a multiple of sizeof(void*) 1190s ok 28 /utils/aligned-mem 1190s # /utils/free-sized summary: Check that g_free_sized() works 1190s ok 29 /utils/free-sized 1190s ok 30 /utils/nullify 1190s ok 31 /utils/atexit 1190s ok 32 /utils/check-setuid 1190s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1190s ok 33 /utils/int-limits 1190s ok 34 /utils/clear-list 1190s ok 35 /utils/clear-slist 1190s ok 36 /utils/steal-handle-id 1190s # Start of specialdir tests 1190s ok 37 /utils/specialdir/desktop 1190s # End of specialdir tests 1190s # Start of clear-pointer tests 1190s ok 38 /utils/clear-pointer/side-effects 1190s # End of clear-pointer tests 1190s # Start of aligned-mem tests 1190s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1190s ok 39 /utils/aligned-mem/alignment 1190s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1190s ok 40 /utils/aligned-mem/zeroed 1190s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1190s ok 41 /utils/aligned-mem/free-sized 1190s # Start of subprocess tests 1190s # End of subprocess tests 1190s # End of aligned-mem tests 1190s # End of utils tests 1190s ok - glib/utils-c-17.test 1190s # Running test: glib/gdbus-connection-loss.test 1190s TAP version 14 1190s # random seed: R02S5d749fef67c5d66044b71da98bebf6a5 1190s 1..1 1190s # Start of gdbus tests 1190s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/home 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/cache 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/system-config2 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/config 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/system-data2 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/data 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/state 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_YUB912/gdbus/connection-loss/.dirs/runtime 1191s ok 1 /gdbus/connection-loss 1191s # End of gdbus tests 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s ok - glib/gdbus-connection-loss.test 1191s # Running test: glib/gdbus-export.test 1191s TAP version 14 1191s # random seed: R02S662cde69ea98980aa1a51c0a797b4c5d 1191s 1..6 1191s # Start of gdbus tests 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration/.dirs/runtime 1191s ok 1 /gdbus/object-registration 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3NBB22/gdbus/object-registration-with-closures/.dirs/runtime 1191s ok 2 /gdbus/object-registration-with-closures 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3NBB22/gdbus/registered-interfaces/.dirs/runtime 1191s ok 3 /gdbus/registered-interfaces 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3NBB22/gdbus/async-properties/.dirs/runtime 1191s ok 4 /gdbus/async-properties 1191s # Start of threaded-unregistration tests 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/object/.dirs/runtime 1191s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1191s # /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 1192s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 1192s # slow test /gdbus/threaded-unregistration/object executed in 1.08 secs 1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/home 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/cache 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/config 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/data 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/state 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3NBB22/gdbus/threaded-unregistration/subtree/.dirs/runtime 1192s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1192s # /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 1193s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (3 iterations with unregistration first, 997 with call first); skipping test 1193s # slow test /gdbus/threaded-unregistration/subtree executed in 1.10 secs 1193s # End of threaded-unregistration tests 1193s # End of gdbus tests 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1193s ok - glib/gdbus-export.test 1193s # Running test: glib/singleton.test 1193s TAP version 14 1193s # random seed: R02S3a078e0d85acf7aa4c6fdef3095e1a12 1193s 1..2 1193s # Start of gobject tests 1193s # Start of singleton tests 1193s ok 1 /gobject/singleton/construction 1193s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1193s ok 2 /gobject/singleton/construct-property 1193s # End of singleton tests 1193s # End of gobject tests 1193s ok - glib/singleton.test 1193s # Running test: glib/resolver-parsing.test 1193s TAP version 14 1193s # random seed: R02S03ff214f411582e3fa7e8e93ab4bf6d0 1193s 1..21 1193s # Start of gresolver tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/invalid-header/.dirs/runtime 1193s ok 1 /gresolver/invalid-header 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/record-ownership/.dirs/runtime 1193s ok 2 /gresolver/record-ownership 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/unknown-record-type/.dirs/runtime 1193s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1193s ok 3 /gresolver/unknown-record-type 1193s # Start of mx tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/valid/.dirs/runtime 1193s ok 4 /gresolver/mx/valid 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/.dirs/runtime 1193s ok 5 /gresolver/mx/invalid 1193s # Start of invalid tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short/.dirs/runtime 1193s ok 6 /gresolver/mx/invalid/too-short 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/mx/invalid/too-short2/.dirs/runtime 1193s ok 7 /gresolver/mx/invalid/too-short2 1193s # End of invalid tests 1193s # End of mx tests 1193s # Start of ns tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/valid/.dirs/runtime 1193s ok 8 /gresolver/ns/valid 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/ns/invalid/.dirs/runtime 1193s ok 9 /gresolver/ns/invalid 1193s # End of ns tests 1193s # Start of soa tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/valid/.dirs/runtime 1193s ok 10 /gresolver/soa/valid 1193s # Start of invalid tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/mname/.dirs/runtime 1193s ok 11 /gresolver/soa/invalid/mname 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/rname/.dirs/runtime 1193s ok 12 /gresolver/soa/invalid/rname 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/soa/invalid/too-short/.dirs/runtime 1193s ok 13 /gresolver/soa/invalid/too-short 1193s # End of invalid tests 1193s # End of soa tests 1193s # Start of srv tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/valid/.dirs/runtime 1193s ok 14 /gresolver/srv/valid 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/.dirs/runtime 1193s ok 15 /gresolver/srv/invalid 1193s # Start of invalid tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short/.dirs/runtime 1193s ok 16 /gresolver/srv/invalid/too-short 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/srv/invalid/too-short2/.dirs/runtime 1193s ok 17 /gresolver/srv/invalid/too-short2 1193s # End of invalid tests 1193s # End of srv tests 1193s # Start of txt tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/.dirs/runtime 1193s ok 18 /gresolver/txt/valid 1193s # Start of valid tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/valid/multiple-strings/.dirs/runtime 1193s ok 19 /gresolver/txt/valid/multiple-strings 1193s # End of valid tests 1193s # Start of invalid tests 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/empty/.dirs/runtime 1193s ok 20 /gresolver/txt/invalid/empty 1193s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/home 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/cache 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/system-config2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/config 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/system-data2 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/data 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/state 1193s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XLEH22/gresolver/txt/invalid/overflow/.dirs/runtime 1193s ok 21 /gresolver/txt/invalid/overflow 1193s # End of invalid tests 1193s # End of txt tests 1193s # End of gresolver tests 1193s ok - glib/resolver-parsing.test 1193s # Running test: glib/performance.test 1193s Running test simple-construction 1194s # Executing: glib/performance.test 1199s # Executing: glib/performance.test 1201s simple-construction: Millions of constructed objects per second: 14.305 1201s Running test simple-construction1 1204s simple-construction1: Millions of constructed objects per second: 68.417 1204s Running test complex-construction 1204s # Executing: glib/performance.test 1207s complex-construction: Millions of constructed objects per second: 5.252 1207s Running test complex-construction1 1209s # Executing: glib/performance.test 1211s complex-construction1: Millions of constructed objects per second: 8.661 1211s Running test complex-construction2 1214s # Executing: glib/performance.test 1216s complex-construction2: Millions of constructed objects per second: 11.366 1216s Running test finalization 1218s finalization: Millions of finalized objects per second: 2.930 1218s Running test type-check 1218s type-check: Million type checks per second: inf 1218s Running test emit-unhandled 1219s emit-unhandled: Emissions per second: 4613409 1219s Running test emit-unhandled-empty 1219s # Executing: glib/performance.test 1220s emit-unhandled-empty: Emissions per second: 25618788 1220s Running test emit-unhandled-generic 1221s emit-unhandled-generic: Emissions per second: 5959215 1221s Running test emit-unhandled-generic-empty 1222s emit-unhandled-generic-empty: Emissions per second: 25640604 1222s Running test emit-unhandled-args 1223s emit-unhandled-args: Emissions per second: 4004505 1223s Running test emit-handled 1224s emit-handled: Emissions per second: 3174436 1224s Running test emit-handled-empty 1224s # Executing: glib/performance.test 1225s emit-handled-empty: Emissions per second: 3329053 1225s Running test emit-handled-generic 1226s emit-handled-generic: Emissions per second: 3264342 1226s Running test emit-handled-generic-empty 1227s emit-handled-generic-empty: Emissions per second: 5334332 1227s Running test emit-handled-args 1228s emit-handled-args: Emissions per second: 2922739 1228s Running test notify-unhandled 1229s notify-unhandled: Notify (unhandled) per second: 26776798 1229s Running test notify-by-pspec-unhandled 1229s # Executing: glib/performance.test 1230s notify-by-pspec-unhandled: Notify (unhandled) per second: 95735116 1230s Running test notify-handled 1231s notify-handled: Notify per second: 1923723 1231s Running test notify-by-pspec-handled 1232s notify-by-pspec-handled: Notify per second: 2042604 1232s Running test property-set 1233s property-set: Property set per second: 13504354 1233s Running test property-get 1234s property-get: Property get per second: 13355157 1234s Running test refcount 1234s # Executing: glib/performance.test 1235s refcount: Million refs+unref per second: 27.14 1235s Running test refcount-1 1236s refcount-1: Million refs+unref per second: 82.44 1236s Running test refcount-toggle 1237s refcount-toggle: Million refs+unref per second: 42.59 1237s ok - glib/performance.test 1237s # Running test: glib/fileutils.test 1237s TAP version 14 1237s # random seed: R02S9b5fcfc0f28b2b326c2d26cb471bb005 1237s 1..27 1237s # Start of fileutils tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/paths/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/paths/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/paths/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/paths/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/paths/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/paths/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/paths/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/paths/.dirs/runtime 1237s ok 1 /fileutils/paths 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/build-path/.dirs/runtime 1237s ok 2 /fileutils/build-path 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/build-pathv/.dirs/runtime 1237s ok 3 /fileutils/build-pathv 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/build-filename/.dirs/runtime 1237s ok 4 /fileutils/build-filename 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/build-filenamev/.dirs/runtime 1237s ok 5 /fileutils/build-filenamev 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents/.dirs/runtime 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s ok 6 /fileutils/mkdir-with-parents 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/mkdir-with-parents-permission/.dirs/runtime 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s ok 7 /fileutils/mkdir-with-parents-permission 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/format-size-for-display/.dirs/runtime 1238s ok 8 /fileutils/format-size-for-display 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/errors/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/errors/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/errors/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/errors/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/errors/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/errors/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/errors/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/errors/.dirs/runtime 1238s ok 9 /fileutils/errors 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/basename/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/basename/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/basename/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/basename/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/basename/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/basename/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/basename/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/basename/.dirs/runtime 1238s ok 10 /fileutils/basename 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/get-basename/.dirs/runtime 1238s ok 11 /fileutils/get-basename 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/dirname/.dirs/runtime 1238s ok 12 /fileutils/dirname 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/dir-make-tmp/.dirs/runtime 1238s ok 13 /fileutils/dir-make-tmp 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/file-open-tmp/.dirs/runtime 1238s ok 14 /fileutils/file-open-tmp 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/file-test/.dirs/runtime 1238s ok 15 /fileutils/file-test 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/mkstemp/.dirs/runtime 1238s ok 16 /fileutils/mkstemp 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/mkdtemp/.dirs/runtime 1238s ok 17 /fileutils/mkdtemp 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/get-contents/.dirs/runtime 1238s ok 18 /fileutils/get-contents 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/get-contents-large-file/.dirs/runtime 1238s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/set-contents/.dirs/runtime 1238s ok 20 /fileutils/set-contents 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/.dirs/runtime 1238s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1238s # Flags 0 and test 0 1238s # Flags 0 and test 1 1238s # Flags 0 and test 2 1238s # Flags 0 and test 3 1238s # Flags 0 and test 4 1238s # Flags 0 and test 5 1238s # Flags 1 and test 0 1238s # Flags 1 and test 1 1238s # Flags 1 and test 2 1238s # Flags 1 and test 3 1238s # Flags 1 and test 4 1238s # Flags 1 and test 5 1238s # Flags 2 and test 0 1238s # Flags 2 and test 1 1238s # Flags 2 and test 2 1238s # Flags 2 and test 3 1238s # Flags 2 and test 4 1238s # Flags 2 and test 5 1238s # Flags 3 and test 0 1238s # Flags 3 and test 1 1238s # Flags 3 and test 2 1238s # Flags 3 and test 3 1238s # Flags 3 and test 4 1238s # Flags 3 and test 5 1238s # Flags 4 and test 0 1238s # Flags 4 and test 1 1238s # Flags 4 and test 2 1238s # Flags 4 and test 3 1238s # Flags 4 and test 4 1238s # Flags 4 and test 5 1238s # Flags 5 and test 0 1238s # Flags 5 and test 1 1238s # Flags 5 and test 2 1238s # Flags 5 and test 3 1238s # Flags 5 and test 4 1238s # Flags 5 and test 5 1238s # Flags 6 and test 0 1238s # Flags 6 and test 1 1238s # Flags 6 and test 2 1238s # Flags 6 and test 3 1238s # Flags 6 and test 4 1238s # Flags 6 and test 5 1238s ok 21 /fileutils/set-contents-full 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/read-link/.dirs/runtime 1238s ok 22 /fileutils/read-link 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/stdio-wrappers/.dirs/runtime 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s ok 23 /fileutils/stdio-wrappers 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/fopen-modes/.dirs/runtime 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1238s # Testing fopen() mode 'w' 1238s # Testing fopen() mode 'r' 1238s # Testing fopen() mode 'a' 1238s # Testing fopen() mode 'w+' 1238s # Testing fopen() mode 'r+' 1238s # Testing fopen() mode 'a+' 1238s # Testing fopen() mode 'wb' 1238s # Testing fopen() mode 'rb' 1238s # Testing fopen() mode 'ab' 1238s # Testing fopen() mode 'w+b' 1238s # Testing fopen() mode 'r+b' 1238s # Testing fopen() mode 'a+b' 1238s # Testing fopen() mode 'wb+' 1238s # Testing fopen() mode 'rb+' 1238s # Testing fopen() mode 'ab+' 1238s ok 24 /fileutils/fopen-modes 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/clear-fd/.dirs/runtime 1238s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1238s # Will be closed by autocleanup: 3, -42 1238s # Testing error handling 1238s ok 25 /fileutils/clear-fd 1238s # Start of set-contents-full tests 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-file/.dirs/runtime 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1238s ok 26 /fileutils/set-contents-full/read-only-file 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_QIG712/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1238s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1238s # Flags 0 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s # Flags 1 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s # Flags 2 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s # Flags 3 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s # Flags 4 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s # Flags 5 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s # Flags 6 1238s # We do not have CAP_DAC_OVERRIDE or equivalent 1238s ok 27 /fileutils/set-contents-full/read-only-directory 1238s # End of set-contents-full tests 1238s # Start of clear-fd tests 1238s # Start of subprocess tests 1238s # End of subprocess tests 1238s # End of clear-fd tests 1238s # End of fileutils tests 1238s Unable to clean up temporary directory /tmp/test_fileutils_QIG712/glib-file-set-contents-full-rodir-E9XB22: Directory not empty 1238s Unable to clean up temporary directory /tmp/test_fileutils_QIG712/glib-file-set-contents-full-rodir-PU2B22: Directory not empty 1238s Unable to clean up temporary directory /tmp/test_fileutils_QIG712/glib-file-set-contents-full-rodir-BB0B22: Directory not empty 1238s Unable to clean up temporary directory /tmp/test_fileutils_QIG712/glib-file-set-contents-full-rodir-L7YB22: Directory not empty 1238s Unable to clean up temporary directory /tmp/test_fileutils_QIG712/glib-file-set-contents-full-rodir-GRVB22: Directory not empty 1238s Unable to clean up temporary directory /tmp/test_fileutils_QIG712/glib-file-set-contents-full-rodir-Q7PB22: Directory not empty 1238s Unable to clean up temporary directory /tmp/test_fileutils_QIG712/glib-file-set-contents-full-rodir-01WB22: Directory not empty 1238s Unable to clean up temporary directory /tmp/test_fileutils_QIG712: Directory not empty 1238s ok - glib/fileutils.test 1238s # Running test: glib/notify-init.test 1238s TAP version 14 1238s # random seed: R02S78d9294e27efa87f069499013f2516a5 1238s 1..1 1238s # Start of properties tests 1238s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1238s ok 1 /properties/notify-in-init 1238s # End of properties tests 1238s ok - glib/notify-init.test 1238s # Running test: glib/signal-handler.test 1238s TAP version 14 1238s # random seed: R02S400b3b3e8efc18968212666b6c170e1e 1238s 1..7 1238s # Start of signal tests 1238s # Start of handler tests 1238s # min perf: connected 1 handlers in 0.000 seconds 1238s ok 1 /signal/handler/connect-many 1238s # min perf: disconnected 1 handlers in 0.000 seconds 1238s ok 2 /signal/handler/disconnect-many-ordered 1238s # min perf: disconnected 1 handlers in 0.000 seconds 1238s ok 3 /signal/handler/disconnect-many-inverse 1238s # min perf: disconnected 1 handlers in 0.000 seconds 1238s ok 4 /signal/handler/disconnect-many-random 1238s # min perf: disconnected 1 handlers in 0.000 seconds 1238s ok 5 /signal/handler/disconnect-2-signals 1238s # min perf: disconnected 1 handlers in 0.000 seconds 1238s ok 6 /signal/handler/disconnect-2-objects 1238s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1238s ok 7 /signal/handler/block-many 1238s # End of handler tests 1238s # End of signal tests 1238s ok - glib/signal-handler.test 1238s # Running test: glib/gdbus-connection-slow.test 1238s TAP version 14 1238s # random seed: R02Sc64dcde98f8f2a6b701771760ac10df4 1238s 1..2 1238s # Start of gdbus tests 1238s # Start of connection tests 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/flush/.dirs/runtime 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s ok 1 /gdbus/connection/flush 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_3GDB22/gdbus/connection/large_message/.dirs/runtime 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1238s ok 2 /gdbus/connection/large_message 1238s # End of connection tests 1238s # End of gdbus tests 1238s ok - glib/gdbus-connection-slow.test 1238s # Running test: glib/spawn-multithreaded.test 1238s TAP version 14 1238s # random seed: R02S349351e77cde2fa7b68d061a95bf6317 1238s 1..4 1238s # Start of gthread tests 1239s # Child 14203 (ttl 1) exited, status 0 1239s # Executing: glib/spawn-multithreaded.test 1240s # Child 14204 (ttl 2) exited, status 0 1240s ok 1 /gthread/spawn-childs 1240s # slow test /gthread/spawn-childs executed in 2.00 secs 1240s # Created pid: 14208 (ttl 2) 1240s # Created pid: 14209 (ttl 1) 1241s # Child 14209 (ttl 1) exited, status 0 1242s # Child 14208 (ttl 2) exited, status 0 1242s ok 2 /gthread/spawn-childs-threads 1242s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1242s ok 3 /gthread/spawn-sync 1242s ok 4 /gthread/spawn-async 1242s # End of gthread tests 1242s ok - glib/spawn-multithreaded.test 1242s # Running test: glib/gdbus-test-codegen-old.test 1242s TAP version 14 1242s # random seed: R02S7e5dd7d8b833142c86f5e2f8214c9be8 1242s 1..8 1242s # Start of gdbus tests 1242s # Start of codegen tests 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/annotations/.dirs/runtime 1242s ok 1 /gdbus/codegen/annotations 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/interface_stability/.dirs/runtime 1242s ok 2 /gdbus/codegen/interface_stability 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/object-manager/.dirs/runtime 1242s ok 3 /gdbus/codegen/object-manager 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/property-naming/.dirs/runtime 1242s ok 4 /gdbus/codegen/property-naming 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/autocleanups/.dirs/runtime 1242s ok 5 /gdbus/codegen/autocleanups 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/deprecations/.dirs/runtime 1242s ok 6 /gdbus/codegen/deprecations 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/standalone-interface-info/.dirs/runtime 1242s ok 7 /gdbus/codegen/standalone-interface-info 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_7RX112/gdbus/codegen/unix-fd-list/.dirs/runtime 1242s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1242s ok 8 /gdbus/codegen/unix-fd-list 1242s # End of codegen tests 1242s # End of gdbus tests 1242s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1242s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1242s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1242s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1242s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1242s ok - glib/gdbus-test-codegen-old.test 1242s # Running test: glib/memchunk.test 1242s TAP version 14 1242s # random seed: R02S7709de84ccd875ddc4125e0dd5f247b8 1242s 1..1 1242s # Start of memchunk tests 1242s ok 1 /memchunk/basic 1242s # End of memchunk tests 1242s ok - glib/memchunk.test 1242s # Running test: glib/network-monitor-race.test 1242s TAP version 14 1242s # random seed: R02Se555091a38076865b80021c96fdc9c1c 1242s 1..1 1242s # Start of network-monitor tests 1242s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1244s ok 1 /network-monitor/create-in-thread 1244s # slow test /network-monitor/create-in-thread executed in 2.16 secs 1244s # End of network-monitor tests 1244s # Executing: glib/network-monitor-race.test 1244s ok - glib/network-monitor-race.test 1244s # Running test: glib/gdbus-threading.test 1244s TAP version 14 1244s # random seed: R02Scc6ff3cb61e533edf04b9fb15e39ca7e 1244s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1244s ok - glib/gdbus-threading.test 1244s # Running test: glib/gdbus-connection-flush.test 1244s TAP version 14 1244s # random seed: R02S6984adbf5c9266b48f08814c0e3d7ffe 1244s 1..2 1244s # Start of gdbus tests 1244s # Start of connection tests 1244s # Start of flush tests 1244s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/home 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/cache 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/system-config2 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/config 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/system-data2 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/data 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/state 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/busy/.dirs/runtime 1244s ok 1 /gdbus/connection/flush/busy 1244s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/home 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/cache 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/system-config2 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/config 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/system-data2 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/data 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/state 1244s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_CGJ512/gdbus/connection/flush/idle/.dirs/runtime 1244s ok 2 /gdbus/connection/flush/idle 1244s # End of flush tests 1244s # End of connection tests 1244s # End of gdbus tests 1244s ok - glib/gdbus-connection-flush.test 1244s # Running test: glib/atomic.test 1244s TAP version 14 1244s # random seed: R02Sf65d9f4b7d2a3aad366344ed74def557 1244s 1..2 1244s # Start of atomic tests 1244s ok 1 /atomic/types 1244s ok 2 /atomic/threaded 1244s # End of atomic tests 1244s ok - glib/atomic.test 1244s # Running test: glib/search-utils.test 1244s TAP version 14 1244s # random seed: R02S332ecc23f8b9af4cc3b73976812272fd 1244s # GLib-DEBUG: Current user locale: C.UTF-8 1244s 1..6 1244s # Start of search tests 1244s # GLib-DEBUG: Started 1244s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1244s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1244s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1244s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1244s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1244s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1244s ok 1 /search/basic 1244s # GLib-DEBUG: Started 1244s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1244s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1244s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1244s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 1244s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 1244s ok 2 /search/composed 1244s # GLib-DEBUG: Started 1244s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1244s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1244s ok 3 /search/decomposed 1244s # GLib-DEBUG: Started 1244s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 1244s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1244s ok 4 /search/turkish 1244s # GLib-DEBUG: Started 1244s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1244s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1244s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1244s ok 5 /search/c_locale_unicode 1244s # GLib-DEBUG: Started 1244s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1244s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1244s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1244s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1244s ok 6 /search/multi_words 1244s # End of search tests 1244s ok - glib/search-utils.test 1244s # Running test: glib/keyfile.test 1244s TAP version 14 1244s # random seed: R02S8cc1b9c0bd9f39404e5aab4e75904be2 1244s 1..36 1244s # Start of keyfile tests 1244s ok 1 /keyfile/line-ends 1244s ok 2 /keyfile/whitespace 1244s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1244s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1244s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1244s ok 3 /keyfile/comments 1244s ok 4 /keyfile/listing 1245s ok 5 /keyfile/string 1245s ok 6 /keyfile/boolean 1245s ok 7 /keyfile/number 1245s ok 8 /keyfile/locale-string 1245s ok 9 /keyfile/lists 1245s ok 10 /keyfile/lists-set-get 1245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1245s ok 11 /keyfile/group-remove 1245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1245s ok 12 /keyfile/key-remove 1245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1245s ok 13 /keyfile/groups 1245s ok 14 /keyfile/duplicate-keys 1245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1245s ok 15 /keyfile/duplicate-groups 1245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1245s ok 16 /keyfile/duplicate-groups2 1245s ok 17 /keyfile/group-names 1245s ok 18 /keyfile/key-names 1245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1245s ok 19 /keyfile/reload 1245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1245s ok 20 /keyfile/int64 1245s ok 21 /keyfile/load 1245s ok 22 /keyfile/save 1245s ok 23 /keyfile/load-fail 1245s ok 24 /keyfile/non-utf8 1245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1245s ok 25 /keyfile/page-boundary 1245s ok 26 /keyfile/ref 1245s ok 27 /keyfile/replace-value 1245s ok 28 /keyfile/list-separator 1245s ok 29 /keyfile/empty-string 1245s ok 30 /keyfile/limbo 1245s # Testing invalid encoding ?non-UTF-8? 1245s # Testing invalid encoding ?UTF? 1245s # Testing invalid encoding ?UTF-9? 1245s ok 31 /keyfile/utf8 1245s ok 32 /keyfile/roundtrip 1245s ok 33 /keyfile/bytes 1245s ok 34 /keyfile/get-locale 1245s ok 35 /keyfile/free-when-not-last-ref 1245s # Start of locale-string tests 1245s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1245s ok 36 /keyfile/locale-string/multiple-loads 1245s # End of locale-string tests 1245s # End of keyfile tests 1245s ok - glib/keyfile.test 1245s # Running test: glib/gdbus-proxy-unique-name.test 1245s TAP version 14 1245s # random seed: R02Sfde8bcee645f193b5c5915cc73603884 1245s 1..1 1245s # Start of gdbus tests 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_N5Q812/gdbus/proxy-unique-name/.dirs/runtime 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s ok 1 /gdbus/proxy-unique-name 1245s # End of gdbus tests 1245s ok - glib/gdbus-proxy-unique-name.test 1245s # Running test: glib/relation.test 1245s TAP version 14 1245s # random seed: R02Sf4af53a65870dbcec5240cfa9b46a2ae 1245s 1..1 1245s # Start of glib tests 1245s ok 1 /glib/relation 1245s # End of glib tests 1245s ok - glib/relation.test 1245s # Running test: glib/cxx.test 1245s TAP version 14 1245s # random seed: R02S90e794e5fb7c8559dde1a8c60ca9b8d0 1245s 1..2 1245s # Start of gtask tests 1245s # 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. 1245s ok 1 /gtask/name 1245s # Start of name tests 1245s # 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. 1245s ok 2 /gtask/name/macro-wrapper 1245s # End of name tests 1245s # End of gtask tests 1245s ok - glib/cxx.test 1245s # Running test: glib/portal-support-flatpak-none.test 1245s TAP version 14 1245s # random seed: R02S4a72e582fb6aeec8ab556579718dc93a 1245s 1..1 1245s # Start of portal-support tests 1245s # Start of flatpak tests 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/runtime 1245s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_O5MA22/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1245s ok 1 /portal-support/flatpak/none 1245s # End of flatpak tests 1245s # End of portal-support tests 1245s ok - glib/portal-support-flatpak-none.test 1245s # Running test: glib/cancellable.test 1245s TAP version 14 1245s # random seed: R02Sd94e3c7e70cbb2f62635e095803a121c 1245s 1..11 1245s # Start of cancellable tests 1245s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1245s ok 2 /cancellable/null 1245s # /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 1245s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1245s # /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 1245s ok 4 /cancellable/resets-on-cancel-callback-hangs 1245s ok 5 /cancellable/poll-fd 1245s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1245s ok 6 /cancellable/poll-fd-cancelled 1245s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1245s ok 7 /cancellable/poll-fd-cancelled-threaded 1245s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1245s ok 8 /cancellable/cancel-reset-races 1245s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1245s ok 9 /cancellable/cancel-reset-connect-races 1245s # End of cancellable tests 1245s # Start of cancellable-source tests 1245s # /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) 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1246s ok 10 /cancellable-source/threaded-dispose 1246s # slow test /cancellable-source/threaded-dispose executed in 0.66 secs 1246s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 1246s ok 11 /cancellable-source/can-be-fired-multiple-times 1246s # End of cancellable-source tests 1246s ok - glib/cancellable.test 1246s # Running test: glib/gio-tool.py.test 1246s TAP version 13 1246s ok 1 __main__.TestGioTool.test_help 1246s # tmpdir: /tmp/tmp8m4xgskd 1246s # gio: /usr/bin/gio 1246s # Running: ['/usr/bin/gio', '--help'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: Usage: 1246s # gio COMMAND [ARGS…] 1246s # 1246s # Commands: 1246s # help Print help 1246s # version Print version 1246s # cat Concatenate files to standard output 1246s # copy Copy one or more files 1246s # info Show information about locations 1246s # launch Launch an application from a desktop file 1246s # list List the contents of locations 1246s # mime Get or set the handler for a mimetype 1246s # mkdir Create directories 1246s # monitor Monitor files and directories for changes 1246s # mount Mount or unmount the locations 1246s # move Move one or more files 1246s # open Open files with the default application 1246s # rename Rename a file 1246s # remove Delete one or more files 1246s # save Read from standard input and save 1246s # set Set a file attribute 1246s # trash Move files or directories to the trash 1246s # tree Lists the contents of locations in a tree 1246s # 1246s # Use “gio help COMMAND†to get detailed help. 1246s # Running: ['/usr/bin/gio', 'help'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: Usage: 1246s # gio COMMAND [ARGS…] 1246s # 1246s # Commands: 1246s # help Print help 1246s # version Print version 1246s # cat Concatenate files to standard output 1246s # copy Copy one or more files 1246s # info Show information about locations 1246s # launch Launch an application from a desktop file 1246s # list List the contents of locations 1246s # mime Get or set the handler for a mimetype 1246s # mkdir Create directories 1246s # monitor Monitor files and directories for changes 1246s # mount Mount or unmount the locations 1246s # move Move one or more files 1246s # open Open files with the default application 1246s # rename Rename a file 1246s # remove Delete one or more files 1246s # save Read from standard input and save 1246s # set Set a file attribute 1246s # trash Move files or directories to the trash 1246s # tree Lists the contents of locations in a tree 1246s # 1246s # Use “gio help COMMAND†to get detailed help. 1246s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1246s # tmpdir: /tmp/tmpgvq380lk 1246s # gio: /usr/bin/gio 1246s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpgvq380lk/tmp1_nzleps'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: uri: file:///tmp/tmpgvq380lk/tmp1_nzleps 1246s # local path: /tmp/tmpgvq380lk/tmp1_nzleps 1246s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1246s # attributes: 1246s # standard::content-type: application/x-zerosize 1246s ok 3 __main__.TestGioTool.test_no_args 1246s # tmpdir: /tmp/tmpjw0msb9s 1246s # gio: /usr/bin/gio 1246s # Running: ['/usr/bin/gio'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s 1..3 1246s ok - glib/gio-tool.py.test 1246s # Running test: glib/hook.test 1246s TAP version 14 1246s # random seed: R02S5321cbdd217ddd6d7af6a76bbae24bf1 1246s 1..2 1246s # Start of hook tests 1246s ok 1 /hook/basics 1246s ok 2 /hook/corner-cases 1246s # End of hook tests 1246s ok - glib/hook.test 1246s # Running test: glib/thread-pool.test 1246s TAP version 14 1246s # random seed: R02S24fbb8067f81b722e1690309c14fe92c 1246s 1..5 1246s # Start of thread_pool tests 1246s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1246s ok 1 /thread_pool/shared 1246s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1246s ok 2 /thread_pool/exclusive 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1246s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1246s ok 3 /thread_pool/create_shared_after_exclusive 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1246s ok 4 /thread_pool/create_full 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1246s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1246s ok 5 /thread_pool/create_exclusive_after_shared 1246s # End of thread_pool tests 1246s ok - glib/thread-pool.test 1246s # Running test: glib/resources.test 1246s TAP version 14 1246s # random seed: R02S9b1f21f8ec86e803400598474307bc94 1246s 1..19 1246s # Start of resource tests 1246s ok 1 /resource/file 1246s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1246s ok 2 /resource/file-path 1246s ok 3 /resource/data 1246s ok 4 /resource/data_unaligned 1246s ok 5 /resource/data-corrupt 1246s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1246s ok 6 /resource/data-corrupt-compression 1246s ok 7 /resource/data-empty 1246s ok 8 /resource/registered 1246s ok 9 /resource/manual 1246s ok 10 /resource/manual2 1246s ok 11 /resource/automatic 1246s ok 12 /resource/module 1246s ok 13 /resource/binary-linked 1246s ok 14 /resource/64k 1246s GLib-GIO-Message: 21:58:54.088: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1246s GLib-GIO-Message: 21:58:54.089: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1246s GLib-GIO-Message: 21:58:54.089: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1246s ok 15 /resource/overlay 1246s ok 16 /resource/digits 1246s ok 17 /resource/has-children 1246s # Start of uri tests 1246s ok 18 /resource/uri/query-info 1246s ok 19 /resource/uri/file 1246s # End of uri tests 1246s # End of resource tests 1246s ok - glib/resources.test 1246s # Running test: glib/error.test 1246s TAP version 14 1246s # random seed: R02S36766d75bd8522e730689f3c6e9d0d43 1246s 1..3 1246s # Start of error tests 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_630C22/error/from-errno/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_630C22/error/from-errno/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_630C22/error/from-errno/.dirs/system-config1:/tmp/test_error_630C22/error/from-errno/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_630C22/error/from-errno/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_630C22/error/from-errno/.dirs/system-data1:/tmp/test_error_630C22/error/from-errno/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_630C22/error/from-errno/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_630C22/error/from-errno/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_630C22/error/from-errno/.dirs/runtime 1246s ok 1 /error/from-errno 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_630C22/error/from-file-error/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_630C22/error/from-file-error/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_630C22/error/from-file-error/.dirs/system-config1:/tmp/test_error_630C22/error/from-file-error/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_630C22/error/from-file-error/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_630C22/error/from-file-error/.dirs/system-data1:/tmp/test_error_630C22/error/from-file-error/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_630C22/error/from-file-error/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_630C22/error/from-file-error/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_630C22/error/from-file-error/.dirs/runtime 1246s ok 2 /error/from-file-error 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_630C22/error/from-win32-error/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_630C22/error/from-win32-error/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_630C22/error/from-win32-error/.dirs/system-config1:/tmp/test_error_630C22/error/from-win32-error/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_630C22/error/from-win32-error/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_630C22/error/from-win32-error/.dirs/system-data1:/tmp/test_error_630C22/error/from-win32-error/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_630C22/error/from-win32-error/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_630C22/error/from-win32-error/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_630C22/error/from-win32-error/.dirs/runtime 1246s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1246s # End of error tests 1246s ok - glib/error.test 1246s # Running test: glib/signals.test 1246s TAP version 14 1246s # random seed: R02Sae1f3ad03aea907f0efb00c929c73a8a 1246s 1..31 1246s # Start of gobject tests 1246s # Start of signals tests 1246s ok 1 /gobject/signals/all-types 1246s ok 2 /gobject/signals/variant 1246s ok 3 /gobject/signals/destroy-target-object 1246s ok 4 /gobject/signals/generic-marshaller-1 1246s ok 5 /gobject/signals/generic-marshaller-2 1246s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1246s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1246s ok 8 /gobject/signals/generic-marshaller-int-return 1246s ok 9 /gobject/signals/generic-marshaller-uint-return 1246s ok 10 /gobject/signals/generic-marshaller-interface-return 1246s ok 11 /gobject/signals/custom-marshaller 1246s ok 12 /gobject/signals/connect 1246s ok 13 /gobject/signals/emission-hook 1246s ok 14 /gobject/signals/emitv 1246s ok 15 /gobject/signals/accumulator 1246s # Signal: accumulator-class-first 1246s # Signal: accumulator-class-last 1246s # Signal: accumulator-class-cleanup 1246s # Signal: accumulator-class-first-last 1246s # Signal: accumulator-class-first-last-cleanup 1246s # Signal: accumulator-class-last-cleanup 1246s ok 16 /gobject/signals/accumulator-class 1246s ok 17 /gobject/signals/introspection 1246s ok 18 /gobject/signals/block-handler 1246s ok 19 /gobject/signals/stop-emission 1246s ok 20 /gobject/signals/invocation-hint 1246s ok 21 /gobject/signals/test-disconnection-wrong-object 1246s ok 22 /gobject/signals/clear-signal-handler 1246s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1246s ok 23 /gobject/signals/lookup 1246s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1246s ok 24 /gobject/signals/parse-name 1246s ok 25 /gobject/signals/is-valid-name 1246s ok 26 /gobject/signals/weak-ref-disconnect 1246s # Start of lookup tests 1246s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1246s ok 27 /gobject/signals/lookup/invalid 1246s # End of lookup tests 1246s # Start of parse-name tests 1246s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1246s # Parser input: 1246s # Parser input: 7zip 1246s # Parser input: invalid:signal 1246s # Parser input: simple-detailed:: 1246s # Parser input: simple-detailed: 1246s # Parser input: : 1246s # Parser input: :: 1246s # Parser input: :valid-detail 1246s # Parser input: ::valid-detail 1246s ok 28 /gobject/signals/parse-name/invalid 1246s # End of parse-name tests 1246s # Start of invalid-name tests 1246s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1246s ok 29 /gobject/signals/invalid-name/colon 1246s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1246s ok 30 /gobject/signals/invalid-name/first-char 1246s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1246s ok 31 /gobject/signals/invalid-name/empty 1246s # End of invalid-name tests 1246s # End of signals tests 1246s # End of gobject tests 1246s ok - glib/signals.test 1246s # Running test: glib/node.test 1246s TAP version 14 1246s # random seed: R02Saf3ed5881a019ba9b742b88fe78a4c8f 1246s 1..6 1246s # Start of node tests 1246s ok 1 /node/allocation 1246s ok 2 /node/construction 1246s ok 3 /node/traversal 1246s ok 4 /node/misc 1246s ok 5 /node/unlink 1246s ok 6 /node/copy 1246s # End of node tests 1246s ok - glib/node.test 1246s # Running test: glib/gdbus-peer.test 1246s TAP version 14 1246s # random seed: R02S18a849b3703800af97202df1a782a2f0 1246s 1..12 1246s # Start of gdbus tests 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/.dirs/runtime 1246s # Testing with unix:dir address 1246s # Testing with unix:tmpdir address 1246s # Testing with unix:path address 1246s ok 1 /gdbus/peer-to-peer 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/delayed-message-processing/.dirs/runtime 1246s # Testing with unix:dir address 1246s ok 2 /gdbus/delayed-message-processing 1246s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/nonce-tcp/.dirs/runtime 1246s ok 3 /gdbus/nonce-tcp 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/tcp-anonymous/.dirs/runtime 1246s ok 4 /gdbus/tcp-anonymous 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/credentials/.dirs/runtime 1246s ok 5 /gdbus/credentials 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/codegen-peer-to-peer/.dirs/runtime 1246s # Testing with unix:dir address 1246s # Machine ID: 3bc86bca4c224d468e93ec5cd426af20 1247s ok 6 /gdbus/codegen-peer-to-peer 1247s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1247s # Start of peer-to-peer tests 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/signals/.dirs/runtime 1247s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1247s # Testing with unix:dir address 1247s ok 7 /gdbus/peer-to-peer/signals 1247s # Start of invalid tests 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1247s ok 8 /gdbus/peer-to-peer/invalid/server 1247s # Start of conn tests 1247s # Start of stream tests 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1247s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1247s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1247s # End of stream tests 1247s # Start of addr tests 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1247s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_I6FC22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1247s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1247s # End of addr tests 1247s # End of conn tests 1247s # End of invalid tests 1247s # End of peer-to-peer tests 1247s # End of gdbus tests 1247s ok - glib/gdbus-peer.test 1247s # Running test: glib/dynamictype.test 1247s TAP version 14 1247s # random seed: R02S06f51de59baf091e8af190e21e7d1846 1247s 1..2 1247s # Start of gobject tests 1247s ok 1 /gobject/dynamic-type 1247s # Start of dynamic-type tests 1247s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1247s ok 2 /gobject/dynamic-type/query 1247s # End of dynamic-type tests 1247s # End of gobject tests 1247s ok - glib/dynamictype.test 1247s # Running test: glib/atomic-c-17.test 1247s TAP version 14 1247s # random seed: R02S71f65343371d730b85eecdae16554fd4 1247s 1..2 1247s # Start of atomic tests 1247s ok 1 /atomic/types 1247s ok 2 /atomic/threaded 1247s # End of atomic tests 1247s ok - glib/atomic-c-17.test 1247s # Running test: glib/defaultiface.test 1247s TAP version 14 1247s # random seed: R02S5fb93168229dc3dc8e828ec49173eac9 1247s 1..2 1247s # Start of gobject tests 1247s ok 1 /gobject/static-iface 1247s ok 2 /gobject/dynamic-iface 1247s # End of gobject tests 1247s ok - glib/defaultiface.test 1247s # Running test: glib/async-close-output-stream.test 1247s TAP version 14 1247s # random seed: R02S01e57138b13cb4703c6e264124768a85 1247s 1..3 1247s # Start of close-async tests 1247s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1247s ok 1 /close-async/without-flush 1247s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1247s ok 2 /close-async/with-flush 1247s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1247s ok 3 /close-async/with-async-flush 1247s # End of close-async tests 1247s ok - glib/async-close-output-stream.test 1247s # Running test: glib/dump.test 1247s TAP version 14 1247s # random seed: R02S3a23fbc02e38ecf942eadd83f2dbf0f8 1247s 1..4 1247s # Start of dump tests 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FZ4612/dump/empty-file/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FZ4612/dump/empty-file/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FZ4612/dump/empty-file/.dirs/system-config1:/tmp/test_dump_FZ4612/dump/empty-file/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FZ4612/dump/empty-file/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FZ4612/dump/empty-file/.dirs/system-data1:/tmp/test_dump_FZ4612/dump/empty-file/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FZ4612/dump/empty-file/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FZ4612/dump/empty-file/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FZ4612/dump/empty-file/.dirs/runtime 1247s ok 1 /dump/empty-file 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FZ4612/dump/missing-get-type/.dirs/runtime 1247s Invalid GType function: 'does_not_exist_get_type' 1247s ok 2 /dump/missing-get-type 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FZ4612/dump/missing-quark/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FZ4612/dump/missing-quark/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FZ4612/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_FZ4612/dump/missing-quark/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FZ4612/dump/missing-quark/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FZ4612/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_FZ4612/dump/missing-quark/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FZ4612/dump/missing-quark/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FZ4612/dump/missing-quark/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FZ4612/dump/missing-quark/.dirs/runtime 1247s Invalid error quark function: 'does_not_exist_error' 1247s ok 3 /dump/missing-quark 1247s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FZ4612/dump/basic/.dirs/home 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FZ4612/dump/basic/.dirs/cache 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FZ4612/dump/basic/.dirs/system-config1:/tmp/test_dump_FZ4612/dump/basic/.dirs/system-config2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FZ4612/dump/basic/.dirs/config 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FZ4612/dump/basic/.dirs/system-data1:/tmp/test_dump_FZ4612/dump/basic/.dirs/system-data2 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FZ4612/dump/basic/.dirs/data 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FZ4612/dump/basic/.dirs/state 1247s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FZ4612/dump/basic/.dirs/runtime 1247s ok 4 /dump/basic 1247s # End of dump tests 1247s ok - glib/dump.test 1247s # Running test: glib/live-g-file.test 1247s TAP version 14 1247s # random seed: R02S46865abe2affe6528afb05ba237bbd29 1247s 1..13 1247s # Start of live-g-file tests 1247s # Cleaning target testing structure in 'testdir_live-g-file'... 1247s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1247s ok 1 /live-g-file/prep_clean_structure 1247s # 1247s # Going to create testing structure in 'testdir_live-g-file'... 1247s # Creating directory 'dir1'... 1247s # Creating directory 'dir1/subdir'... 1247s # Creating directory 'dir2'... 1247s # Creating directory 'dir-target'... 1247s # Creating directory 'dir_no-access'... 1247s # Creating directory 'dir_no-write'... 1247s # Creating file 'target-file'... 1247s # Creating file 'normal_file'... 1247s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1247s # Creating file 'executable_file'... 1247s # Creating file 'private_file'... 1247s # Creating file 'normal_file2'... 1247s # Creating file 'readonly_file'... 1247s # Creating file 'UTF_pr?i?lis? z'... 1247s # Creating directory 'dir_pr?i?lis? z'... 1247s # Creating symlink 'lost_symlink' --> 'nowhere'... 1247s # Creating directory 'dir_hidden'... 1247s # Creating file 'dir_hidden/.a-hidden-file'... 1247s # Creating file 'dir_hidden/file-in-.hidden1'... 1247s # Creating file 'dir_hidden/file-in-.hidden2'... 1247s # Creating pattern file... 1248s # done. 1248s ok 2 /live-g-file/create_structure 1248s # Testing sample structure in 'testdir_live-g-file'... 1248s # Testing file 'dir1'... 1248s # Testing file 'dir1/subdir'... 1248s # Testing file 'dir2'... 1248s # Testing file 'dir-target'... 1248s # Testing file 'dir_no-access'... 1248s # Testing file 'dir_no-write'... 1248s # Testing file 'target-file'... 1248s # Testing file 'normal_file'... 1248s # Testing file 'normal_file-symlink'... 1248s # Testing file 'executable_file'... 1248s # Testing file 'private_file'... 1248s # Testing file 'normal_file2'... 1248s # Testing file 'readonly_file'... 1248s # Testing file 'UTF_pr?i?lis? z'... 1248s # Testing file 'dir_pr?i?lis? z'... 1248s # Testing file 'lost_symlink'... 1248s # Testing file 'dir_hidden'... 1248s # Testing file 'dir_hidden/.a-hidden-file'... 1248s # Testing file 'dir_hidden/file-in-.hidden1'... 1248s # Testing file 'dir_hidden/file-in-.hidden2'... 1248s # Testing pattern file... 1248s # read 65536 bytes, total = 65536 of 65536. 1248s ok 3 /live-g-file/test_initial_structure 1248s # Traversing through the sample structure in 'testdir_live-g-file'... 1248s # Found file dir1, relative to root: dir1 1248s # Found file subdir, relative to root: dir1/subdir 1248s # Found file dir2, relative to root: dir2 1248s # Found file dir-target, relative to root: dir-target 1248s # Found file dir_no-access, relative to root: dir_no-access 1248s # Found file dir_no-write, relative to root: dir_no-write 1248s # Found file target-file, relative to root: target-file 1248s # Found file normal_file, relative to root: normal_file 1248s # Found file normal_file-symlink, relative to root: normal_file-symlink 1248s # Found file executable_file, relative to root: executable_file 1248s # Found file private_file, relative to root: private_file 1248s # Found file normal_file2, relative to root: normal_file2 1248s # Found file readonly_file, relative to root: readonly_file 1248s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1248s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1248s # Found file lost_symlink, relative to root: lost_symlink 1248s # Found file dir_hidden, relative to root: dir_hidden 1248s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1248s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1248s # Found file .hidden, relative to root: dir_hidden/.hidden 1248s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1248s # Found file pattern_file, relative to root: pattern_file 1248s ok 4 /live-g-file/test_traverse_structure 1248s # Test enumerate 'testdir_live-g-file'... 1248s # Testing file 'dir_no-access' 1248s # Testing file 'normal_file' 1248s # Testing file 'normal_file-symlink' 1248s # Testing file 'not_exists' 1248s # Testing file 'not_exists' 1248s # Testing file 'not_exists2' 1248s # Testing file 'not_exists3' 1248s # Testing file 'not_exists4' 1248s # Testing file 'dir_no-execute/file' 1248s ok 5 /live-g-file/test_enumerate 1248s # test_open: 'dir1' 1248s # test_open: 'dir_no-access' 1248s # test_open: 'target-file' 1248s # test_open: 'normal_file-symlink' 1248s # test_open: 'executable_file' 1248s # test_open: 'private_file' 1248s # test_open: 'readonly_file' 1248s # test_open: 'UTF_pr?i?lis? z' 1248s # test_open: 'pattern_file' 1248s # test_open: 'not_exists' 1248s # test_open: 'dir_no-execute/file' 1248s # test_open: 'lost_symlink' 1248s ok 6 /live-g-file/test_open 1248s # test_create: 'dir1' 1248s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir1?: Is a directory 1248s # test_create: 'dir1/subdir' 1248s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir1/subdir?: Is a directory 1248s # test_create: 'dir2' 1248s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir2?: File exists 1248s # test_create: 'normal_file' 1248s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/normal_file?: File exists 1248s # test_create: 'executable_file' 1248s # test_create: 'private_file' 1248s # test_create: 'normal_file2' 1248s # test_create: 'UTF_pr?i?lis? z' 1248s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1248s # test_create: 'dir_pr?i?lis? z' 1248s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1248s # test_create: 'pattern_file' 1248s # test_create: 'not_exists2' 1248s # test_create: 'not_exists3' 1248s # test_create: 'not_exists4' 1248s ok 7 /live-g-file/test_create 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1248s # res = 0, error code 25 = Can?t recursively copy directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir1/subdir' --> '.' 1248s # res = 0, error code 2 = Target file exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir1/subdir' --> 'target-file' 1248s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1248s # res = 0, error code 25 = Can?t recursively copy directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1248s # res = 0, error code 25 = Can?t recursively copy directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1248s # res = 0, error code 25 = Can?t recursively copy directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir2' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir-target' --> 'dir-target' 1248s # res = 0, error code 25 = Can?t recursively copy directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir-target' --> '.' 1248s # res = 0, error code 2 = Target file exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir-target' --> 'target-file' 1248s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/dir-target?: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir-target' --> 'not_exists' 1248s # res = 0, error code 25 = Can?t recursively copy directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir-target' --> 'dir_no-access' 1248s # res = 0, error code 25 = Can?t recursively copy directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'dir-target' --> 'dir_no-write' 1248s # res = 0, error code 25 = Can?t recursively copy directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'target-file' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'target-file' --> '.' 1248s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file?: File exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'target-file' --> 'target-file' 1248s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/target-file?: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'target-file' --> 'not_exists' 1248s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists/target-file?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'target-file' --> 'dir_no-access' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'target-file' --> 'dir_no-write' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file-symlink' --> '.' 1248s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/normal_file-symlink: File exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1248s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1248s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1248s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1248s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'executable_file' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'executable_file' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'executable_file' --> '.' 1248s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/executable_file?: File exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'executable_file' --> 'target-file' 1248s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/executable_file?: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'executable_file' --> 'not_exists' 1248s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'executable_file' --> 'dir_no-access' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'executable_file' --> 'dir_no-write' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'private_file' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'private_file' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'private_file' --> '.' 1248s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/private_file?: File exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'private_file' --> 'target-file' 1248s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/private_file?: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'private_file' --> 'not_exists' 1248s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists/private_file?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'private_file' --> 'dir_no-access' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'private_file' --> 'dir_no-write' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file2' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file2' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file2' --> '.' 1248s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/normal_file2?: File exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file2' --> 'target-file' 1248s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/normal_file2?: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file2' --> 'not_exists' 1248s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1248s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1248s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1248s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'pattern_file' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'pattern_file' --> '.' 1248s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/pattern_file?: File exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'pattern_file' --> 'target-file' 1248s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/pattern_file?: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'pattern_file' --> 'not_exists' 1248s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1248s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'not_exists' --> 'dir-target' 1248s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'not_exists' --> '.' 1248s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'not_exists' --> 'target-file' 1248s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'not_exists' --> 'not_exists' 1248s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'not_exists' --> 'dir_no-access' 1248s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'not_exists' --> 'dir_no-write' 1248s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists?: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'not_exists' --> 'dir-target' 1248s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'lost_symlink' --> 'dir-target' 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'lost_symlink' --> '.' 1248s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/lost_symlink: File exists 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'lost_symlink' --> 'target-file' 1248s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/target-file/lost_symlink: Not a directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'lost_symlink' --> 'not_exists' 1248s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1248s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1248s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1248s ok 8 /live-g-file/test_copy_move 1248s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir1 1248s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir1: Directory not empty 1248s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir2 1248s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir2: No such file or directory 1248s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/executable_file 1248s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/readonly_file 1248s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_pr?i?lis? z 1248s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists 1248s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists: No such file or directory 1248s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists 1248s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/not_exists: No such file or directory 1248s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-execute/file 1248s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/dir_no-execute/file: No such file or directory 1248s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-PU1612/testdir_live-g-file/lost_symlink 1248s ok 9 /live-g-file/test_delete 1248s # We do not have CAP_DAC_OVERRIDE or equivalent 1248s ok 10 /live-g-file/test_make_directory_with_parents 1248s # Cleaning target testing structure in 'testdir_live-g-file'... 1248s # deleting 'dir1' 1248s # deleting 'subdir' 1248s # deleting 'dir-target' 1248s # deleting 'dir2' 1248s # deleting 'target-file' 1248s # deleting 'normal_file-symlink' 1248s # deleting 'pattern_file' 1248s # deleting 'executable_file' 1248s # deleting 'private_file' 1248s # deleting 'normal_file2' 1248s # deleting 'UTF_pr?i?lis? z' 1248s # deleting 'lost_symlink' 1248s # deleting 'dir_no-access' 1248s # deleting 'dir_no-write' 1248s # deleting 'target-file' 1248s # deleting 'normal_file' 1248s # deleting 'normal_file-symlink' 1248s # deleting 'executable_file~' 1248s # deleting 'private_file' 1248s # deleting 'normal_file2~' 1248s # deleting 'a' 1248s # deleting 'UTF_pr?i?lis? z' 1248s # deleting 'dir_hidden' 1248s # deleting '.a-hidden-file' 1248s # deleting 'file-in-.hidden1' 1248s # deleting '.hidden' 1248s # deleting 'file-in-.hidden2' 1248s # deleting 'pattern_file' 1248s # deleting 'normal_file2' 1248s # deleting 'not_exists2' 1248s # deleting 'not_exists3' 1248s # deleting 'not_exists4' 1248s ok 11 /live-g-file/final_clean 1248s # Start of test_unix_is_mountpoint tests 1248s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1248s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1248s # End of test_unix_is_mountpoint tests 1248s # End of live-g-file tests 1248s ok - glib/live-g-file.test 1248s # Running test: glib/struct-info.test 1248s TAP version 14 1248s # random seed: R02S28eb66b6975c7808c657ea3a8c945cc9 1248s 1..4 1248s # Start of struct-info tests 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XV8B22/struct-info/field-iterators/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1248s ok 1 /struct-info/field-iterators 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XV8B22/struct-info/sizeof-gvalue/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1248s ok 2 /struct-info/sizeof-gvalue 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XV8B22/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1248s ok 3 /struct-info/is-pointer-for-struct-method-arg 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XV8B22/struct-info/boxed/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1248s ok 4 /struct-info/boxed 1248s # End of struct-info tests 1248s ok - glib/struct-info.test 1248s # Running test: glib/cache.test 1248s TAP version 14 1248s # random seed: R02S2a370f4ed49f74144ae2b8a207e80c48 1248s 1..1 1248s # Start of cache tests 1248s ok 1 /cache/basic 1248s # End of cache tests 1248s ok - glib/cache.test 1248s # Running test: glib/rec-mutex.test 1248s TAP version 14 1248s # random seed: R02Sc9fa695d1b9349c960a60ffe7d535408 1248s 1..29 1248s # Start of thread tests 1248s ok 1 /thread/rec-mutex1 1248s ok 2 /thread/rec-mutex2 1248s ok 3 /thread/rec-mutex3 1248s ok 4 /thread/rec-mutex4 1248s # Start of rec-mutex tests 1248s # Start of perf tests 1248s # Start of uncontended tests 1248s # max perf: 1.000000 mips 1248s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1248s # max perf: inf mips 1248s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1248s # max perf: inf mips 1248s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1248s # max perf: inf mips 1248s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1248s # max perf: 1.000000 mips 1248s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1248s # End of uncontended tests 1248s # Start of contended1 tests 1248s # max perf: inf mips 1248s ok 10 /thread/rec-mutex/perf/contended1/depth1 1248s # max perf: inf mips 1248s ok 11 /thread/rec-mutex/perf/contended1/depth2 1248s # max perf: 2.000000 mips 1248s ok 12 /thread/rec-mutex/perf/contended1/depth3 1248s # max perf: inf mips 1248s ok 13 /thread/rec-mutex/perf/contended1/depth4 1248s # max perf: 2.000000 mips 1248s ok 14 /thread/rec-mutex/perf/contended1/depth5 1248s # End of contended1 tests 1248s # Start of contended2 tests 1248s # max perf: 0.142857 mips 1248s ok 15 /thread/rec-mutex/perf/contended2/depth1 1248s # max perf: 3.000000 mips 1248s ok 16 /thread/rec-mutex/perf/contended2/depth2 1248s # max perf: inf mips 1248s ok 17 /thread/rec-mutex/perf/contended2/depth3 1248s # max perf: 3.000000 mips 1248s ok 18 /thread/rec-mutex/perf/contended2/depth4 1248s # max perf: 3.000000 mips 1248s ok 19 /thread/rec-mutex/perf/contended2/depth5 1248s # End of contended2 tests 1248s # Start of contended3 tests 1248s # max perf: inf mips 1248s ok 20 /thread/rec-mutex/perf/contended3/depth1 1248s # max perf: inf mips 1248s ok 21 /thread/rec-mutex/perf/contended3/depth2 1248s # max perf: 0.333333 mips 1248s ok 22 /thread/rec-mutex/perf/contended3/depth3 1248s # max perf: 4.000000 mips 1248s ok 23 /thread/rec-mutex/perf/contended3/depth4 1248s # max perf: 4.000000 mips 1248s ok 24 /thread/rec-mutex/perf/contended3/depth5 1248s # End of contended3 tests 1248s # Start of contended4 tests 1248s # max perf: 5.000000 mips 1248s ok 25 /thread/rec-mutex/perf/contended4/depth1 1248s # max perf: 5.000000 mips 1248s ok 26 /thread/rec-mutex/perf/contended4/depth2 1248s # max perf: 5.000000 mips 1248s ok 27 /thread/rec-mutex/perf/contended4/depth3 1248s # max perf: 5.000000 mips 1248s ok 28 /thread/rec-mutex/perf/contended4/depth4 1248s # max perf: 5.000000 mips 1248s ok 29 /thread/rec-mutex/perf/contended4/depth5 1248s # End of contended4 tests 1248s # End of perf tests 1248s # End of rec-mutex tests 1248s # End of thread tests 1248s ok - glib/rec-mutex.test 1248s # Running test: glib/dynamictests.test 1248s TAP version 14 1248s # random seed: R02S508bb3d300dfffeb0a18e7f0b76a6e8d 1248s 1..2 1248s # Start of GObject tests 1248s ok 1 /GObject/threaded-dynamic-ref-unref-init 1248s ok 2 /GObject/dynamic-interface-properties 1248s # End of GObject tests 1248s ok - glib/dynamictests.test 1248s # Running test: glib/network-address.test 1248s TAP version 14 1248s # random seed: R02S79f047570c0661b1a214462aa4be874e 1248s 1..72 1248s # Start of network-address tests 1248s ok 1 /network-address/basic 1248s ok 2 /network-address/scope-id 1248s ok 3 /network-address/uri-scope-id 1248s ok 4 /network-address/to-string 1248s # Start of parse-host tests 1248s ok 5 /network-address/parse-host/0 1248s ok 6 /network-address/parse-host/1 1248s ok 7 /network-address/parse-host/2 1248s ok 8 /network-address/parse-host/3 1248s ok 9 /network-address/parse-host/4 1248s ok 10 /network-address/parse-host/5 1248s ok 11 /network-address/parse-host/6 1248s ok 12 /network-address/parse-host/7 1248s ok 13 /network-address/parse-host/8 1248s ok 14 /network-address/parse-host/9 1248s ok 15 /network-address/parse-host/10 1248s ok 16 /network-address/parse-host/11 1248s ok 17 /network-address/parse-host/12 1248s ok 18 /network-address/parse-host/13 1248s # End of parse-host tests 1248s # Start of parse-uri tests 1248s ok 19 /network-address/parse-uri/0 1248s ok 20 /network-address/parse-uri/1 1248s ok 21 /network-address/parse-uri/2 1248s ok 22 /network-address/parse-uri/3 1248s ok 23 /network-address/parse-uri/4 1248s ok 24 /network-address/parse-uri/5 1248s ok 25 /network-address/parse-uri/6 1248s ok 26 /network-address/parse-uri/7 1248s ok 27 /network-address/parse-uri/8 1248s ok 28 /network-address/parse-uri/9 1248s # End of parse-uri tests 1248s # Start of resolve-address tests 1248s # Input: 192.168.1.2 1248s ok 29 /network-address/resolve-address/0 1248s # Input: fe80::42 1248s ok 30 /network-address/resolve-address/1 1248s # Input: 192.168.1.2:80 1248s ok 31 /network-address/resolve-address/2 1248s # Input: [fe80::42] 1248s ok 32 /network-address/resolve-address/3 1248s # Input: [fe80::42]:80 1248s ok 33 /network-address/resolve-address/4 1248s # Input: 192.168.258 1248s ok 34 /network-address/resolve-address/5 1248s # Input: 192.11010306 1248s ok 35 /network-address/resolve-address/6 1248s # Input: 3232235778 1248s ok 36 /network-address/resolve-address/7 1248s # Input: 0300.0250.0001.0001 1248s ok 37 /network-address/resolve-address/8 1248s # Input: 0xC0.0xA8.0x01.0x02 1248s ok 38 /network-address/resolve-address/9 1248s # Input: 0xc0.0xa8.0x01.0x02 1248s ok 39 /network-address/resolve-address/10 1248s # Input: 0xc0a80102 1248s ok 40 /network-address/resolve-address/11 1248s # End of resolve-address tests 1248s # Start of loopback tests 1248s ok 41 /network-address/loopback/basic 1248s ok 42 /network-address/loopback/sync 1248s ok 43 /network-address/loopback/async 1248s # End of loopback tests 1248s # Start of localhost tests 1248s ok 44 /network-address/localhost/async 1248s ok 45 /network-address/localhost/sync 1248s # End of localhost tests 1248s # Start of happy-eyeballs tests 1248s ok 46 /network-address/happy-eyeballs/basic 1248s ok 47 /network-address/happy-eyeballs/parallel 1248s ok 48 /network-address/happy-eyeballs/slow-ipv4 1248s ok 49 /network-address/happy-eyeballs/slow-ipv6 1248s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1249s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1249s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1249s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1249s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1249s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1249s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1249s # /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. 1249s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1249s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1249s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1249s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1249s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1249s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1249s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1249s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1249s ok 57 /network-address/happy-eyeballs/both-error 1249s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1249s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1249s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1249s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1249s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1249s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1249s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1249s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1249s # End of happy-eyeballs tests 1249s # End of network-address tests 1249s # Start of gresolver tests 1249s # Start of resolve-address tests 1249s # Input: 192.168.1.2 1249s ok 61 /gresolver/resolve-address/0 1249s # Input: fe80::42 1249s ok 62 /gresolver/resolve-address/1 1249s # Input: 192.168.1.2:80 1249s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1249s ok 63 /gresolver/resolve-address/2 1249s # Input: [fe80::42] 1249s # Error: Error resolving ?[fe80::42]?: Name or service not known 1249s ok 64 /gresolver/resolve-address/3 1249s # Input: [fe80::42]:80 1249s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1249s ok 65 /gresolver/resolve-address/4 1249s # Input: 192.168.258 1249s # Error: Error resolving ?192.168.258?: Name or service not known 1249s ok 66 /gresolver/resolve-address/5 1249s # Input: 192.11010306 1249s # Error: Error resolving ?192.11010306?: Name or service not known 1249s ok 67 /gresolver/resolve-address/6 1249s # Input: 3232235778 1249s # Error: Error resolving ?3232235778?: Name or service not known 1249s ok 68 /gresolver/resolve-address/7 1249s # Input: 0300.0250.0001.0001 1249s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1249s ok 69 /gresolver/resolve-address/8 1249s # Input: 0xC0.0xA8.0x01.0x02 1249s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1249s ok 70 /gresolver/resolve-address/9 1249s # Input: 0xc0.0xa8.0x01.0x02 1249s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1249s ok 71 /gresolver/resolve-address/10 1249s # Input: 0xc0a80102 1249s # Error: Error resolving ?0xc0a80102?: Name or service not known 1249s ok 72 /gresolver/resolve-address/11 1249s # End of resolve-address tests 1249s # End of gresolver tests 1249s ok - glib/network-address.test 1249s # Running test: glib/qdata.test 1249s TAP version 14 1249s # random seed: R02Sbe2fbf3c030facc9caa1541fd75c98f8 1249s 1..2 1249s # Start of qdata tests 1249s ok 1 /qdata/threaded 1249s ok 2 /qdata/dup 1249s # End of qdata tests 1249s ok - glib/qdata.test 1249s # Running test: glib/credentials.test 1249s TAP version 14 1249s # random seed: R02S0f7a5d992e3eb5ec50a7e43d8522b100 1249s 1..1 1249s # Start of credentials tests 1249s # GCredentials:linux-ucred:pid=14660,uid=1000,gid=1000 1249s # GCredentials:linux-ucred:pid=14660,uid=0,gid=1000 1249s ok 1 /credentials/basic 1249s # End of credentials tests 1249s ok - glib/credentials.test 1249s # Running test: glib/task.test 1249s TAP version 14 1249s # random seed: R02S571460bea5bb262e22d35e51eb16f618 1249s 1..36 1249s # Start of gtask tests 1249s ok 1 /gtask/basic 1249s ok 2 /gtask/error 1249s ok 3 /gtask/error-literal 1249s ok 4 /gtask/error-literal-from-variable 1249s ok 5 /gtask/return-from-same-iteration 1249s ok 6 /gtask/return-from-toplevel 1249s ok 7 /gtask/return-from-anon-thread 1249s ok 8 /gtask/return-from-wrong-thread 1249s ok 9 /gtask/no-callback 1249s ok 10 /gtask/report-error 1249s ok 11 /gtask/priority 1249s ok 12 /gtask/name 1249s ok 13 /gtask/static-name 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1249s # Executing: glib/task.test 1250s ok 14 /gtask/asynchronous-cancellation 1250s ok 15 /gtask/check-cancellable 1250s ok 16 /gtask/return-if-cancelled 1250s ok 17 /gtask/run-in-thread 1250s ok 18 /gtask/run-in-thread-sync 1250s ok 19 /gtask/run-in-thread-priority 1250s ok 20 /gtask/run-in-thread-nested 1250s ok 21 /gtask/run-in-thread-overflow 1250s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1250s # GLib-GIO-DEBUG: GTask 0xbf9deffc1ba0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1250s # GLib-GIO-DEBUG: GTask 0xbf9deffc2040 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1250s ok 22 /gtask/return-on-cancel 1250s # GLib-GIO-DEBUG: GTask 0xbf9df00249d0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1250s ok 23 /gtask/return-on-cancel-sync 1250s # GLib-GIO-DEBUG: GTask 0xbf9deffc2040 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1250s ok 24 /gtask/return-on-cancel-atomic 1250s ok 25 /gtask/return-pointer 1250s ok 26 /gtask/return-value 1250s ok 27 /gtask/return-prefixed-error 1250s ok 28 /gtask/object-keepalive 1250s ok 29 /gtask/legacy-error 1250s ok 30 /gtask/finalize-without-return 1250s # Start of name tests 1250s ok 31 /gtask/name/macro-wrapper 1250s # End of name tests 1250s # Start of return tests 1250s ok 32 /gtask/return/error-first 1250s ok 33 /gtask/return/value-first 1250s # Start of in-idle tests 1250s ok 34 /gtask/return/in-idle/error-first 1250s ok 35 /gtask/return/in-idle/value-first 1250s # End of in-idle tests 1250s # End of return tests 1250s # Start of attach-source tests 1250s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1250s ok 36 /gtask/attach-source/set-name 1250s # End of attach-source tests 1250s # End of gtask tests 1250s ok - glib/task.test 1250s # Running test: glib/list.test 1250s TAP version 14 1250s # random seed: R02Sb87f80b24b50d4150f81044cb7237b3a 1250s 1..20 1250s # Start of list tests 1250s ok 1 /list/sort 1250s ok 2 /list/sort-with-data 1250s ok 3 /list/insert-before-link 1250s ok 4 /list/insert-sorted 1250s ok 5 /list/insert-sorted-with-data 1250s ok 6 /list/reverse 1250s ok 7 /list/nth 1250s ok 8 /list/concat 1250s ok 9 /list/remove 1250s ok 10 /list/remove-all 1250s ok 11 /list/first-last 1250s ok 12 /list/insert 1250s ok 13 /list/free-full 1250s ok 14 /list/copy 1250s ok 15 /list/copy-deep 1250s ok 16 /list/delete-link 1250s ok 17 /list/prepend 1250s ok 18 /list/position 1250s ok 19 /list/double-free 1250s # Start of sort tests 1250s ok 20 /list/sort/stable 1250s # End of sort tests 1250s # End of list tests 1250s ok - glib/list.test 1250s # Running test: glib/contenttype.test 1250s TAP version 14 1250s # random seed: R02S3cef6615cc5c753cc1b94aa4e6cf5b73 1250s 1..14 1250s # Start of contenttype tests 1250s ok 1 /contenttype/guess 1250s ok 2 /contenttype/guess_svg_from_data 1250s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1250s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1250s ok 5 /contenttype/unknown 1250s ok 6 /contenttype/subtype 1250s ok 7 /contenttype/list 1250s ok 8 /contenttype/executable 1250s ok 9 /contenttype/description 1250s ok 10 /contenttype/icon 1250s ok 11 /contenttype/symbolic-icon 1250s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1250s ok 12 /contenttype/tree 1250s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1250s ok 13 /contenttype/tree_invalid_encoding 1250s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1250s ok 14 /contenttype/test_type_is_a_special_case 1250s # End of contenttype tests 1250s ok - glib/contenttype.test 1250s # Running test: glib/gsubprocess.test 1250s TAP version 14 1250s # random seed: R02Sad2c53f89127ebb4c58555028009e434 1250s 1..83 1250s # Start of gsubprocess tests 1250s ok 1 /gsubprocess/noop 1250s ok 2 /gsubprocess/noop-all-to-null 1250s ok 3 /gsubprocess/noop-no-wait 1250s ok 4 /gsubprocess/noop-stdin-inherit 1250s ok 5 /gsubprocess/search-path 1250s ok 6 /gsubprocess/search-path-from-envp 1253s ok 7 /gsubprocess/signal 1253s # slow test /gsubprocess/signal executed in 3.02 secs 1253s ok 8 /gsubprocess/exit1 1253s ok 9 /gsubprocess/echo1 1253s ok 10 /gsubprocess/echo-merged 1253s ok 11 /gsubprocess/cat-utf8 1254s # Executing: glib/gsubprocess.test 1254s ok 12 /gsubprocess/cat-eof 1254s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1257s ok 13 /gsubprocess/multi1 1257s # slow test /gsubprocess/multi1 executed in 3.01 secs 1257s ok 14 /gsubprocess/communicate 1259s # Executing: glib/gsubprocess.test 1260s ok 15 /gsubprocess/terminate 1260s # slow test /gsubprocess/terminate executed in 2.97 secs 1260s ok 16 /gsubprocess/env 1260s ok 17 /gsubprocess/cwd 1260s ok 18 /gsubprocess/launcher-close 1260s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1260s ok 19 /gsubprocess/stdout-file 1260s ok 20 /gsubprocess/stdout-fd 1260s ok 21 /gsubprocess/child-setup 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1260s ok 22 /gsubprocess/launcher-environment 1260s # Start of exit1 tests 1260s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1260s ok 23 /gsubprocess/exit1/cancel 1260s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1260s ok 24 /gsubprocess/exit1/cancel_in_cb 1260s # End of exit1 tests 1260s # Start of communicate tests 1260s ok 25 /gsubprocess/communicate/cancelled 1260s ok 26 /gsubprocess/communicate/async 1260s ok 27 /gsubprocess/communicate/utf8 1260s # hello world 1260s ok 28 /gsubprocess/communicate/no-pipes 1260s ok 29 /gsubprocess/communicate/separate-stderr 1260s ok 30 /gsubprocess/communicate/stdout-only 1260s # hello world 1260s ok 31 /gsubprocess/communicate/stderr-only 1260s ok 32 /gsubprocess/communicate/stdout-silence 1260s ok 33 /gsubprocess/communicate/nothing 1260s # Start of async tests 1260s ok 34 /gsubprocess/communicate/async/cancelled 1260s # hello world 1260s ok 35 /gsubprocess/communicate/async/no-pipes 1260s ok 36 /gsubprocess/communicate/async/separate-stderr 1260s ok 37 /gsubprocess/communicate/async/stdout-only 1260s # hello world 1260s ok 38 /gsubprocess/communicate/async/stderr-only 1260s ok 39 /gsubprocess/communicate/async/stdout-silence 1260s # Start of cancelled tests 1260s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1260s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1260s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1260s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1260s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1260s # End of cancelled tests 1260s # End of async tests 1260s # Start of utf8 tests 1260s ok 45 /gsubprocess/communicate/utf8/cancelled 1260s ok 46 /gsubprocess/communicate/utf8/async 1260s # hello world 1260s ok 47 /gsubprocess/communicate/utf8/no-pipes 1260s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1260s ok 49 /gsubprocess/communicate/utf8/stdout-only 1260s # hello world 1260s ok 50 /gsubprocess/communicate/utf8/stderr-only 1260s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1260s ok 52 /gsubprocess/communicate/utf8/invalid 1260s # Start of async tests 1260s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1260s # hello world 1260s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1261s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1261s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1261s # hello world 1261s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1261s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1261s ok 59 /gsubprocess/communicate/utf8/async/invalid 1261s # Start of cancelled tests 1261s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1261s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1261s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1261s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1261s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1261s # End of cancelled tests 1261s # End of async tests 1261s # Start of cancelled tests 1261s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1261s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1261s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1261s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1261s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1261s # End of cancelled tests 1261s # End of utf8 tests 1261s # Start of cancelled tests 1261s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1261s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1261s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1261s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1261s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1261s # End of cancelled tests 1261s # End of communicate tests 1261s # Start of env tests 1261s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1261s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1261s ok 75 /gsubprocess/env/inherit 1261s # End of env tests 1261s # Start of pass-fd tests 1261s ok 76 /gsubprocess/pass-fd/basic 1261s ok 77 /gsubprocess/pass-fd/empty-child-setup 1261s ok 78 /gsubprocess/pass-fd/inherit-fds 1261s # End of pass-fd tests 1261s # Start of fd-conflation tests 1261s ok 79 /gsubprocess/fd-conflation/basic 1261s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1261s ok 81 /gsubprocess/fd-conflation/inherit-fds 1261s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1261s # End of fd-conflation tests 1261s # Start of exit-status tests 1261s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1261s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1261s ok 83 /gsubprocess/exit-status/trapped 1261s # End of exit-status tests 1261s # End of gsubprocess tests 1261s ok - glib/gsubprocess.test 1261s # Running test: glib/atomic-c-11.test 1261s TAP version 14 1261s # random seed: R02S00c1d25d9e8b069f3678e44a52a7013b 1261s 1..2 1261s # Start of atomic tests 1261s ok 1 /atomic/types 1261s ok 2 /atomic/threaded 1261s # End of atomic tests 1261s ok - glib/atomic-c-11.test 1261s # Running test: glib/dataset.test 1261s TAP version 14 1261s # random seed: R02S3235466d80bbc7e0408c2cc3e13ba5d0 1261s 1..14 1261s # Start of quark tests 1261s ok 1 /quark/basic 1261s ok 2 /quark/string 1261s # End of quark tests 1261s # Start of dataset tests 1261s ok 3 /dataset/basic 1261s ok 4 /dataset/id 1261s ok 5 /dataset/full 1261s ok 6 /dataset/foreach 1261s ok 7 /dataset/destroy 1261s # End of dataset tests 1261s # Start of datalist tests 1261s ok 8 /datalist/basic 1261s ok 9 /datalist/id 1261s ok 10 /datalist/recursive-clear 1261s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1261s ok 11 /datalist/id-remove-multiple 1261s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1261s ok 12 /datalist/id-remove-multiple-destroy-order 1261s ok 13 /datalist/update-atomic 1261s # Start of id-remove-multiple tests 1261s ok 14 /datalist/id-remove-multiple/resize 1261s # End of id-remove-multiple tests 1261s # End of datalist tests 1261s ok - glib/dataset.test 1261s # Running test: glib/g-file-info-filesystem-readonly.test 1261s TAP version 14 1261s # random seed: R02S927523c0153799117818ec08f23974e0 1261s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1261s 1..2 1261s # Start of g-file-info-filesystem-readonly tests 1261s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1261s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1261s # End of g-file-info-filesystem-readonly tests 1261s ok - glib/g-file-info-filesystem-readonly.test 1261s # Running test: glib/contexts.test 1261s TAP version 14 1261s # random seed: R02S78ba18caf329706617f185ff5fa70446 1261s 1..5 1261s # Start of gio tests 1261s # Start of contexts tests 1261s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1261s ok 1 /gio/contexts/thread-independence 1261s ok 2 /gio/contexts/context-independence 1261s # Start of context-specific tests 1261s ok 3 /gio/contexts/context-specific/identity 1261s ok 4 /gio/contexts/context-specific/emit 1261s ok 5 /gio/contexts/context-specific/emit-and-unref 1261s # End of context-specific tests 1261s # End of contexts tests 1261s # End of gio tests 1261s ok - glib/contexts.test 1261s # Running test: glib/buffered-input-stream.test 1261s TAP version 14 1261s # random seed: R02S448ff462099a9a548e9f5df0d6e43459 1261s 1..10 1261s # Start of buffered-input-stream tests 1261s ok 1 /buffered-input-stream/peek 1261s ok 2 /buffered-input-stream/peek-buffer 1261s ok 3 /buffered-input-stream/set-buffer-size 1261s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1261s ok 4 /buffered-input-stream/read-byte 1261s ok 5 /buffered-input-stream/read 1261s ok 6 /buffered-input-stream/read-async 1261s ok 7 /buffered-input-stream/skip 1261s ok 8 /buffered-input-stream/skip-async 1261s ok 9 /buffered-input-stream/seek 1261s # End of buffered-input-stream tests 1261s # Start of filter-input-stream tests 1261s ok 10 /filter-input-stream/close 1261s # End of filter-input-stream tests 1261s ok - glib/buffered-input-stream.test 1261s # Running test: glib/gdbus-peer-object-manager.test 1261s TAP version 14 1261s # random seed: R02S1d6eee3b4c66a6cf986a3d8588b07386 1261s 1..2 1261s # Start of gdbus tests 1261s # Start of peer-object-manager tests 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/normal/.dirs/runtime 1261s ok 1 /gdbus/peer-object-manager/normal 1261s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/home 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/cache 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/system-config2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/config 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/system-data2 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/data 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/state 1261s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_DB6F22/gdbus/peer-object-manager/root/.dirs/runtime 1261s ok 2 /gdbus/peer-object-manager/root 1261s # End of peer-object-manager tests 1261s # End of gdbus tests 1261s ok - glib/gdbus-peer-object-manager.test 1261s # Running test: glib/signals-refcount2.test 1261s TAP version 14 1261s # random seed: R02Sf980ef7d78a5f2883249f7c0ab6e465a 1261s 1..1 1261s # Start of gobject tests 1261s # Start of refcount tests 1261s # init 0xc02cdb5eb430 1261s # 1261s # init 0xc02cdb5eb5d0 1261s # 1264s # Executing: glib/signals-refcount2.test 1266s # dispose 0xc02cdb5eb430! 1266s # 1266s # dispose 0xc02cdb5eb5d0! 1266s # 1266s ok 1 /gobject/refcount/signals 1266s # slow test /gobject/refcount/signals executed in 5.00 secs 1266s # End of refcount tests 1266s # End of gobject tests 1266s ok - glib/signals-refcount2.test 1266s # Running test: glib/autoptr-gio.test 1266s TAP version 14 1266s # random seed: R02Scafd82ae0af72c538a4024cee8c0aaf0 1266s 1..1 1266s # Start of autoptr tests 1266s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1266s ok 1 /autoptr/autoptr 1266s # End of autoptr tests 1266s ok - glib/autoptr-gio.test 1266s # Running test: glib/spawn-test.test 1266s TAP version 14 1266s # random seed: R02S437fa956e45822f768cfb2a5f1664917 1266s 1..2 1266s # Start of spawn tests 1266s ok 1 /spawn/basics 1266s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1266s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1266s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1266s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1266s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1266s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1266s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1266s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1266s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1266s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1266s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1266s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1266s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1266s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1266s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1266s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1266s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1266s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1266s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1266s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1266s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1266s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1266s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1266s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1266s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1266s # Fetching GSpawn result with stdin open, stdout open, stderr open 1266s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1266s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1266s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1266s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1266s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1266s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1266s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1266s ok 2 /spawn/stdio-overwrite 1266s # End of spawn tests 1266s ok - glib/spawn-test.test 1266s # Running test: glib/hostutils.test 1266s TAP version 14 1266s # random seed: R02S7fc968482c274b1ae0e306a5df0e21bc 1266s 1..3 1266s # Start of hostutils tests 1266s ok 1 /hostutils/to_ascii 1266s ok 2 /hostutils/to_unicode 1266s ok 3 /hostutils/is_ip_addr 1266s # End of hostutils tests 1266s ok - glib/hostutils.test 1266s # Running test: glib/gdbus-auth.test 1266s TAP version 14 1266s # random seed: R02S9da22637d716e7c9990c6531b312f13f 1266s 1..5 1266s # Start of gdbus tests 1266s # Start of auth tests 1266s # Start of client tests 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/EXTERNAL/.dirs/runtime 1266s ok 1 /gdbus/auth/client/EXTERNAL 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_09IH22/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1266s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1266s # End of client tests 1266s # Start of server tests 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1266s ok 3 /gdbus/auth/server/ANONYMOUS 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/EXTERNAL/.dirs/runtime 1266s ok 4 /gdbus/auth/server/EXTERNAL 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_09IH22/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1266s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1266s # End of server tests 1266s # End of auth tests 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 ok - glib/gdbus-auth.test 1266s # Running test: glib/object.test 1266s TAP version 14 1266s # random seed: R02S0de73ec5cecf412592be5f780db48433 1266s 1..2 1266s # Start of object tests 1266s # Start of constructor tests 1266s ok 1 /object/constructor/singleton 1266s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1266s # End of constructor tests 1266s # End of object tests 1266s ok - glib/object.test 1266s # Running test: glib/markup-subparser.test 1266s TAP version 14 1266s # random seed: R02Sec55464dc1e1a0a2c976532a867e5adb 1266s 1..14 1266s # Start of glib tests 1266s # Start of markup tests 1266s # Start of subparser tests 1266s # Start of success tests 1266s ok 1 /glib/markup/subparser/success/0 1266s ok 2 /glib/markup/subparser/success/1 1266s ok 3 /glib/markup/subparser/success/2 1266s ok 4 /glib/markup/subparser/success/3 1266s ok 5 /glib/markup/subparser/success/4 1266s ok 6 /glib/markup/subparser/success/5 1266s ok 7 /glib/markup/subparser/success/6 1266s # End of success tests 1266s # Start of failure tests 1266s ok 8 /glib/markup/subparser/failure/0 1266s ok 9 /glib/markup/subparser/failure/1 1266s ok 10 /glib/markup/subparser/failure/2 1266s ok 11 /glib/markup/subparser/failure/3 1266s ok 12 /glib/markup/subparser/failure/4 1266s ok 13 /glib/markup/subparser/failure/5 1266s ok 14 /glib/markup/subparser/failure/6 1266s # End of failure tests 1266s # End of subparser tests 1266s # End of markup tests 1266s # End of glib tests 1266s ok - glib/markup-subparser.test 1266s # Running test: glib/gdbus-proxy-well-known-name.test 1266s TAP version 14 1266s # random seed: R02S57b66644c0b43769af11fe3db5d6d7b6 1266s 1..1 1266s # Start of gdbus tests 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_NA1G22/gdbus/proxy-well-known-name/.dirs/runtime 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 ok 1 /gdbus/proxy-well-known-name 1266s # End of gdbus tests 1266s ok - glib/gdbus-proxy-well-known-name.test 1266s # Running test: glib/object-info.test 1266s TAP version 14 1266s # random seed: R02S7c6165e685760b04526c8eec5f2707a0 1266s 1..2 1266s # Start of object-info tests 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_CY7I22/object-info/find-method-using-interfaces/.dirs/runtime 1266s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1266s ok 1 /object-info/find-method-using-interfaces 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_CY7I22/object-info/find-vfunc-using-interfaces/.dirs/runtime 1266s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1266s ok 2 /object-info/find-vfunc-using-interfaces 1266s # End of object-info tests 1266s ok - glib/object-info.test 1266s # Running test: glib/cond.test 1266s TAP version 14 1266s # random seed: R02S70faf6e18912c564aeedb6d0ade0ea0d 1266s 1..4 1266s # Start of thread tests 1266s ok 1 /thread/cond1 1266s ok 2 /thread/cond2 1266s # Start of cond tests 1267s ok 3 /thread/cond/wait-until 1267s # slow test /thread/cond/wait-until executed in 1.02 secs 1267s # Start of wait-until tests 1267s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1268s ok 4 /thread/cond/wait-until/contended-and-interrupted 1268s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1268s # End of wait-until tests 1268s # End of cond tests 1268s # End of thread tests 1268s ok - glib/cond.test 1268s # Running test: glib/rand.test 1268s TAP version 14 1268s # random seed: R02S7025fc25da51717e14935ee5eebe6633 1268s 1..2 1268s # Start of rand tests 1268s ok 1 /rand/test-rand 1268s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1268s ok 2 /rand/double-range 1268s # End of rand tests 1268s ok - glib/rand.test 1268s # Running test: glib/win32-appinfo.test 1268s TAP version 14 1268s # random seed: R02S8da17147e3d84edbe93be4d732988a0b 1268s 1..5 1268s # Start of appinfo tests 1268s ok 1 /appinfo/utf16-strfuncs 1268s ok 2 /appinfo/win32-extract-executable 1268s ok 3 /appinfo/win32-rundll32-fixup 1268s ok 4 /appinfo/win32-parse-filename 1268s ok 5 /appinfo/win32-utf16-conversion-fail 1268s # Start of subprocess tests 1268s # End of subprocess tests 1268s # End of appinfo tests 1268s ok - glib/win32-appinfo.test 1268s # Running test: glib/filter-streams.test 1268s TAP version 14 1268s # random seed: R02S7935d41e62f60afa4c8fa76e287c15c7 1268s 1..4 1268s # Start of filter-stream tests 1268s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1268s ok 1 /filter-stream/input 1268s ok 2 /filter-stream/output 1268s ok 3 /filter-stream/async-input 1268s ok 4 /filter-stream/async-output 1268s # End of filter-stream tests 1268s ok - glib/filter-streams.test 1268s # Running test: glib/thumbnail-verification.test 1268s TAP version 14 1268s # random seed: R02S5c71986ad3efa9d8d8f39cb2ee71359d 1268s 1..1 1268s # Start of png-thumbs tests 1268s ok 1 /png-thumbs/validity 1268s # End of png-thumbs tests 1268s ok - glib/thumbnail-verification.test 1268s # Running test: glib/utf8-misc.test 1268s TAP version 14 1268s # random seed: R02S15f3fcb307ac1a539630dc60486756bc 1268s 1..7 1268s # Start of utf8 tests 1268s ok 1 /utf8/strlen 1268s ok 2 /utf8/strncpy 1268s ok 3 /utf8/strrchr 1268s ok 4 /utf8/reverse 1268s ok 5 /utf8/substring 1268s ok 6 /utf8/make-valid 1268s ok 7 /utf8/truncate-middle 1268s # End of utf8 tests 1268s ok - glib/utf8-misc.test 1268s # Running test: glib/io-stream.test 1268s TAP version 14 1268s # random seed: R02Sd762c04a718d9a2a438617a4103aeff2 1268s 1..3 1268s # Start of io-stream tests 1268s ok 1 /io-stream/copy-chunks 1268s # Start of close tests 1268s # Start of async tests 1268s ok 2 /io-stream/close/async/memory 1268s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1268s ok 3 /io-stream/close/async/file 1268s # End of async tests 1268s # End of close tests 1268s # End of io-stream tests 1268s ok - glib/io-stream.test 1268s # Running test: glib/file.test 1268s TAP version 14 1268s # random seed: R02Se5bcf88889201e8fcd63991a6e2ec8ad 1268s 1..55 1268s # Start of file tests 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/basic/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/basic/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/basic/.dirs/system-config1:/tmp/test_file_3M8Z12/file/basic/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/basic/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/basic/.dirs/system-data1:/tmp/test_file_3M8Z12/file/basic/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/basic/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/basic/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/basic/.dirs/runtime 1268s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1268s ok 1 /file/basic 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/build-filename/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/build-filename/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/build-filename/.dirs/system-config1:/tmp/test_file_3M8Z12/file/build-filename/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/build-filename/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/build-filename/.dirs/system-data1:/tmp/test_file_3M8Z12/file/build-filename/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/build-filename/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/build-filename/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/build-filename/.dirs/runtime 1268s ok 2 /file/build-filename 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/build-filenamev/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/build-filenamev/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/build-filenamev/.dirs/system-config1:/tmp/test_file_3M8Z12/file/build-filenamev/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/build-filenamev/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/build-filenamev/.dirs/system-data1:/tmp/test_file_3M8Z12/file/build-filenamev/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/build-filenamev/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/build-filenamev/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/build-filenamev/.dirs/runtime 1268s ok 3 /file/build-filenamev 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/parent/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/parent/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/parent/.dirs/system-config1:/tmp/test_file_3M8Z12/file/parent/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/parent/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/parent/.dirs/system-data1:/tmp/test_file_3M8Z12/file/parent/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/parent/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/parent/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/parent/.dirs/runtime 1268s ok 4 /file/parent 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/child/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/child/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/child/.dirs/system-config1:/tmp/test_file_3M8Z12/file/child/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/child/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/child/.dirs/system-data1:/tmp/test_file_3M8Z12/file/child/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/child/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/child/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/child/.dirs/runtime 1268s ok 5 /file/child 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/empty-path/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/empty-path/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/empty-path/.dirs/system-config1:/tmp/test_file_3M8Z12/file/empty-path/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/empty-path/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/empty-path/.dirs/system-data1:/tmp/test_file_3M8Z12/file/empty-path/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/empty-path/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/empty-path/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/empty-path/.dirs/runtime 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1268s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1268s ok 6 /file/empty-path 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/type/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/type/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/type/.dirs/system-config1:/tmp/test_file_3M8Z12/file/type/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/type/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/type/.dirs/system-data1:/tmp/test_file_3M8Z12/file/type/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/type/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/type/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/type/.dirs/runtime 1268s ok 7 /file/type 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/parse-name/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/parse-name/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/parse-name/.dirs/system-config1:/tmp/test_file_3M8Z12/file/parse-name/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/parse-name/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/parse-name/.dirs/system-data1:/tmp/test_file_3M8Z12/file/parse-name/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/parse-name/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/parse-name/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/parse-name/.dirs/runtime 1268s ok 8 /file/parse-name 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/replace-load/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/replace-load/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/replace-load/.dirs/system-config1:/tmp/test_file_3M8Z12/file/replace-load/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/replace-load/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/replace-load/.dirs/system-data1:/tmp/test_file_3M8Z12/file/replace-load/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/replace-load/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/replace-load/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/replace-load/.dirs/runtime 1268s ok 9 /file/replace-load 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/replace-cancel/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/replace-cancel/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/replace-cancel/.dirs/system-config1:/tmp/test_file_3M8Z12/file/replace-cancel/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/replace-cancel/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/replace-cancel/.dirs/system-data1:/tmp/test_file_3M8Z12/file/replace-cancel/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/replace-cancel/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/replace-cancel/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/replace-cancel/.dirs/runtime 1268s # Bug Reference: https://bugzilla.gnome.org/629301 1268s ok 10 /file/replace-cancel 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/replace-symlink/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/replace-symlink/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/replace-symlink/.dirs/system-config1:/tmp/test_file_3M8Z12/file/replace-symlink/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/replace-symlink/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/replace-symlink/.dirs/system-data1:/tmp/test_file_3M8Z12/file/replace-symlink/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/replace-symlink/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/replace-symlink/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/replace-symlink/.dirs/runtime 1268s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1268s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1268s # Using temporary directory /tmp/test_file_3M8Z12/g_file_replace_symlink_ISYZ12 1268s ok 11 /file/replace-symlink 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/async-new-tmp/.dirs/runtime 1268s ok 12 /file/async-new-tmp 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/async-new-tmp-dir/.dirs/runtime 1268s ok 13 /file/async-new-tmp-dir 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/async-delete/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/async-delete/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/async-delete/.dirs/system-config1:/tmp/test_file_3M8Z12/file/async-delete/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/async-delete/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/async-delete/.dirs/system-data1:/tmp/test_file_3M8Z12/file/async-delete/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/async-delete/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/async-delete/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/async-delete/.dirs/runtime 1268s ok 14 /file/async-delete 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/async-make-symlink/.dirs/runtime 1268s ok 15 /file/async-make-symlink 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/copy-preserve-mode/.dirs/runtime 1268s # Current umask: 2 1268s # Vector 0 1268s # Vector 1 1268s # Vector 2 1268s # Vector 3 1268s # Vector 4 1268s # Vector 5 1268s # Vector 6 1268s # Vector 7 1268s # Vector 8 1268s # Vector 9 1268s # Vector 10 1268s ok 16 /file/copy-preserve-mode 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/copy-async-with-closures/.dirs/runtime 1268s ok 17 /file/copy-async-with-closures 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/measure/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/measure/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/measure/.dirs/system-config1:/tmp/test_file_3M8Z12/file/measure/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/measure/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/measure/.dirs/system-data1:/tmp/test_file_3M8Z12/file/measure/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/measure/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/measure/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/measure/.dirs/runtime 1268s ok 18 /file/measure 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/measure-async/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/measure-async/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/measure-async/.dirs/system-config1:/tmp/test_file_3M8Z12/file/measure-async/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/measure-async/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/measure-async/.dirs/system-data1:/tmp/test_file_3M8Z12/file/measure-async/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/measure-async/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/measure-async/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/measure-async/.dirs/runtime 1268s ok 19 /file/measure-async 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/load-bytes/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/load-bytes/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/load-bytes/.dirs/system-config1:/tmp/test_file_3M8Z12/file/load-bytes/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/load-bytes/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/load-bytes/.dirs/system-data1:/tmp/test_file_3M8Z12/file/load-bytes/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/load-bytes/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/load-bytes/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/load-bytes/.dirs/runtime 1268s ok 20 /file/load-bytes 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/load-bytes-async/.dirs/runtime 1268s ok 21 /file/load-bytes-async 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/load-bytes-4gb/.dirs/runtime 1268s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/load-contents-4gb/.dirs/runtime 1268s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/load-contents-4gb-async/.dirs/runtime 1268s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/.dirs/runtime 1268s ok 25 /file/writev 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/build-attribute-list-for-copy/.dirs/runtime 1268s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1268s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1268s # 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::* 1268s # 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::* 1268s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1268s # Attributes for copy: standard::size,xattr::* 1268s # Attributes for copy: standard::size,unix::mode,xattr::* 1268s ok 26 /file/build-attribute-list-for-copy 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/move_async/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/move_async/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/move_async/.dirs/system-config1:/tmp/test_file_3M8Z12/file/move_async/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/move_async/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/move_async/.dirs/system-data1:/tmp/test_file_3M8Z12/file/move_async/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/move_async/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/move_async/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/move_async/.dirs/runtime 1268s ok 27 /file/move_async 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/move-async-with-closures/.dirs/runtime 1268s ok 28 /file/move-async-with-closures 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/query-zero-length-content-type/.dirs/runtime 1268s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1268s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1268s ok 29 /file/query-zero-length-content-type 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/runtime 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/data/applications 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/config 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/config 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/config 1268s ok 30 /file/query-default-handler-file 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/runtime 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/data/applications 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/config 1268s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_3M8Z12/file/query-default-handler-file/.dirs/config to /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/config 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/config 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/config 1268s ok 31 /file/query-default-handler-file-async 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/runtime 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/data/applications 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/config 1268s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_3M8Z12/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/config 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/config 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/config 1268s ok 32 /file/query-default-handler-uri 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/runtime 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/data/applications 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/config 1268s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_3M8Z12/file/query-default-handler-uri/.dirs/config to /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/config 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/config 1268s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_3M8Z12/file/query-default-handler-uri-async/.dirs/config 1268s ok 33 /file/query-default-handler-uri-async 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/enumerator-cancellation/.dirs/runtime 1268s ok 34 /file/enumerator-cancellation 1268s # Start of async-create-delete tests 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/async-create-delete/0/.dirs/runtime 1268s ok 35 /file/async-create-delete/0 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/async-create-delete/1/.dirs/runtime 1268s ok 36 /file/async-create-delete/1 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/async-create-delete/10/.dirs/runtime 1268s ok 37 /file/async-create-delete/10 1268s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/home 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/cache 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/system-config2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/config 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/system-data2 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/data 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/state 1268s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/async-create-delete/25/.dirs/runtime 1269s ok 38 /file/async-create-delete/25 1269s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/home 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/cache 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/system-config2 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/config 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/system-data2 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/data 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/state 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/async-create-delete/4096/.dirs/runtime 1269s ok 39 /file/async-create-delete/4096 1269s # End of async-create-delete tests 1269s # Start of replace-symlink tests 1269s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/home 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/cache 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/system-config2 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/config 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/system-data2 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/data 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/state 1269s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/replace-symlink/using-etag/.dirs/runtime 1269s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1269s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1269s # Using temporary directory /tmp/test_file_3M8Z12/g_file_replace_symlink_using_etag_XEQ812 1269s # Executing: glib/file.test 1271s ok 40 /file/replace-symlink/using-etag 1271s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1271s # End of replace-symlink tests 1271s # Start of replace tests 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/replace/write-only/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/replace/write-only/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/replace/write-only/.dirs/system-config1:/tmp/test_file_3M8Z12/file/replace/write-only/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/replace/write-only/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/replace/write-only/.dirs/system-data1:/tmp/test_file_3M8Z12/file/replace/write-only/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/replace/write-only/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/replace/write-only/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/replace/write-only/.dirs/runtime 1271s # /file/replace/write-only summary: Test various situations for g_file_replace() 1271s # Current umask: 2 1271s # Test 0, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_4JP812 1271s # Test 1, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_3AP812 1271s # Test 2, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_UVM812 1271s # Test 3, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_XWG812 1271s # Test 4, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_6VJ812 1271s # Test 5, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_3OJ812 1271s # Test 6, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_ZKG812 1271s # Test 7, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_IHF812 1271s # Test 8, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_T9E812 1271s # Test 9, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_5UB812 1271s # Test 10, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_Y1B812 1271s # Test 11, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_QU9712 1271s # Test 12, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_XN9712 1271s # Test 13, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_6G9712 1271s # Test 14, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_UN6712 1271s # Test 15, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_HQWA22 1271s # Test 16, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_Z1TA22 1271s # Test 17, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_JTSA22 1271s # Test 18, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_4BQA22 1271s # Test 19, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_3TKA22 1271s # Test 20, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_4U9B22 1271s # Test 21, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_F26B22 1271s # Test 22, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_CX5B22 1271s # Test 23, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_MO5B22 1271s # Test 24, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_ND3B22 1271s # Test 25, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_5K0B22 1271s # Test 26, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_51ZB22 1271s # Test 27, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_FVZB22 1271s # Test 28, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_HKXB22 1271s # Test 29, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_SYXB22 1271s # Test 30, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_URXB22 1271s # Test 31, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_1BUB22 1271s # Test 32, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_0ZUB22 1271s # Test 33, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_AYQB22 1271s # Test 34, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_ARQB22 1271s # Test 35, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_3GQB22 1271s # Test 36, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_2ONB22 1271s # Test 37, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_YPKB22 1271s # Test 38, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_N4KB22 1271s # Test 39, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_QDIB22 1271s # Test 40, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_O2DB22 1271s # Test 41, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_9SEB22 1271s # Test 42, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_A0BB22 1271s # Test 43, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_MW9A22 1271s # Test 44, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_E23A22 1271s # Test 45, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_AT3A22 1271s # Test 46, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_4D1A22 1271s # Test 47, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_D60A22 1271s # Test 48, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_ZD3A22 1271s # We do not have CAP_DAC_OVERRIDE or equivalent 1271s ok 41 /file/replace/write-only 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/replace/read-write/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/replace/read-write/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/replace/read-write/.dirs/system-config1:/tmp/test_file_3M8Z12/file/replace/read-write/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/replace/read-write/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/replace/read-write/.dirs/system-data1:/tmp/test_file_3M8Z12/file/replace/read-write/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/replace/read-write/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/replace/read-write/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/replace/read-write/.dirs/runtime 1271s # /file/replace/read-write summary: Test various situations for g_file_replace() 1271s # Current umask: 2 1271s # Test 0, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_5P2A22 1271s # Test 1, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_1U2A22 1271s # Test 2, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_Z8ZA22 1271s # Test 3, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_KBOD22 1271s # Test 4, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_L2ND22 1271s # Test 5, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_PXND22 1271s # Test 6, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_INKD22 1271s # Test 7, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_19HD22 1271s # Test 8, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_65HD22 1271s # Test 9, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_OUHD22 1271s # Test 10, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_13ED22 1271s # Test 11, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_RWFD22 1271s # Test 12, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_3HFD22 1271s # Test 13, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_CNFD22 1271s # Test 14, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_Y6AD22 1271s # Test 15, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_OD8C22 1271s # Test 16, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_D88C22 1271s # Test 17, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_626C22 1271s # Test 18, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_ST3C22 1271s # Test 19, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_HIZC22 1271s # Test 20, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_GYZC22 1271s # Test 21, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_2LXC22 1271s # Test 22, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_8JUC22 1271s # Test 23, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_4DUC22 1271s # Test 24, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_OROC22 1271s # Test 25, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_G2LC22 1271s # Test 26, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_JWLC22 1271s # Test 27, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_01LC22 1271s # Test 28, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_5INC22 1271s # Test 29, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_GYKC22 1271s # Test 30, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_5QKC22 1271s # Test 31, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_0IKC22 1271s # Test 32, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_91HC22 1271s # Test 33, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_2GCC22 1271s # Test 34, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_QACC22 1271s # Test 35, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_V1BC22 1271s # Test 36, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_HM2E22 1271s # Test 37, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_9Q4E22 1271s # Test 38, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_9DZE22 1271s # Test 39, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_LRWE22 1271s # Test 40, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_7XTE22 1271s # Test 41, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_2XUE22 1271s # Test 42, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_3NPE22 1271s # Test 43, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_QSRE22 1271s # Test 44, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_8RME22 1271s # Test 45, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_T8LE22 1271s # Test 46, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_TMJE22 1271s # Test 47, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_4DJE22 1271s # Test 48, using temporary directory /tmp/test_file_3M8Z12/g_file_replace_TTGE22 1271s # We do not have CAP_DAC_OVERRIDE or equivalent 1271s ok 42 /file/replace/read-write 1271s # End of replace tests 1271s # Start of copy tests 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/copy/progress/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/copy/progress/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/copy/progress/.dirs/system-config1:/tmp/test_file_3M8Z12/file/copy/progress/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/copy/progress/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/copy/progress/.dirs/system-data1:/tmp/test_file_3M8Z12/file/copy/progress/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/copy/progress/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/copy/progress/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/copy/progress/.dirs/runtime 1271s ok 43 /file/copy/progress 1271s # End of copy tests 1271s # Start of writev tests 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/no-bytes-written/.dirs/runtime 1271s ok 44 /file/writev/no-bytes-written 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/no-vectors/.dirs/runtime 1271s ok 45 /file/writev/no-vectors 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/empty-vectors/.dirs/runtime 1271s ok 46 /file/writev/empty-vectors 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/too-big-vectors/.dirs/runtime 1271s ok 47 /file/writev/too-big-vectors 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/async/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/async/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/async/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/async/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/async/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/async/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/async/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/async/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/async/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/async/.dirs/runtime 1271s ok 48 /file/writev/async 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/async_all/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/async_all/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/async_all/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/async_all/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/async_all/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/async_all/.dirs/runtime 1271s ok 49 /file/writev/async_all 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/async_all-empty-vectors/.dirs/runtime 1271s ok 50 /file/writev/async_all-empty-vectors 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/async_all-no-vectors/.dirs/runtime 1271s ok 51 /file/writev/async_all-no-vectors 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/async_all-to-big-vectors/.dirs/runtime 1271s ok 52 /file/writev/async_all-to-big-vectors 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/writev/async_all-cancellation/.dirs/runtime 1271s ok 53 /file/writev/async_all-cancellation 1271s # End of writev tests 1271s # Start of from-uri tests 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/from-uri/ignores-query-string/.dirs/runtime 1271s ok 54 /file/from-uri/ignores-query-string 1271s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/home 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/cache 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/system-config2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/config 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/system-data2 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/data 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/state 1271s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_3M8Z12/file/from-uri/ignores-fragment/.dirs/runtime 1271s ok 55 /file/from-uri/ignores-fragment 1271s # End of from-uri tests 1271s # End of file tests 1271s ok - glib/file.test 1271s # Running test: glib/uri.test 1271s TAP version 14 1271s # random seed: R02Sc3a351335c9ecd69038f5d2f16b26679 1271s 1..24 1271s # Start of uri tests 1271s ok 1 /uri/file-to-uri 1271s ok 2 /uri/file-from-uri 1271s ok 3 /uri/file-roundtrip 1271s ok 4 /uri/list 1271s # Test 0: %2Babc %4F 1271s # Test 1: %2Babc %4F 1271s # Test 2: %00abc %4F 1271s # Test 3: /cursors/none.png 1271s # Test 4: /cursors%2fbad-subdir/none.png 1271s # Test 5: %0 1271s # Test 6: %ra 1271s # Test 7: %2r 1271s # Test 8: Timm B?der 1271s # Test 9: (null) 1271s ok 5 /uri/unescape-string 1271s ok 6 /uri/unescape-segment 1271s # Test 0: abcdefgABCDEFG._~ 1271s # Test 1: :+ \\?# 1271s # Test 2: a+b:c 1271s # Test 3: a+b:c\303\234 1271s # Test 4: \374;\322 1271s # Test 5: \303\261\303( 1271s ok 7 /uri/escape-string 1271s ok 8 /uri/escape-bytes 1271s ok 9 /uri/scheme 1271s ok 10 /uri/build 1271s ok 11 /uri/split 1271s ok 12 /uri/is_valid 1271s ok 13 /uri/to-string 1271s ok 14 /uri/join 1271s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1271s # Combination 0 1271s # Combination 1 1271s # Combination 2 1271s # Combination 3 1271s # Combination 4 1271s # Combination 5 1271s # Combination 6 1271s # Combination 7 1271s # Combination 8 1271s # Combination 9 1271s # Combination 10 1271s # Combination 11 1271s # Combination 12 1271s # Combination 13 1271s # Combination 14 1271s # Combination 15 1271s # Combination 16 1271s # Combination 17 1271s # Combination 18 1271s # Combination 19 1271s # Combination 20 1271s # Combination 21 1271s # Combination 22 1271s # Combination 23 1271s # Combination 24 1271s # Combination 25 1271s # Combination 26 1271s # Combination 27 1271s # Combination 28 1271s # Combination 29 1271s # Combination 30 1271s # Combination 31 1271s # Combination 32 1271s # Combination 33 1271s # Combination 34 1271s # Combination 35 1271s # Combination 36 1271s # Combination 37 1271s # Combination 38 1271s # Combination 39 1271s # Combination 40 1271s # Combination 41 1271s # Combination 42 1271s # Combination 43 1271s # Combination 44 1271s # Combination 45 1271s # Combination 46 1271s # Combination 47 1271s # Combination 48 1271s # Combination 49 1271s # Combination 50 1271s # Combination 51 1271s # Combination 52 1271s # Combination 53 1271s # Combination 54 1271s # Combination 55 1271s # Combination 56 1271s # Combination 57 1271s # Combination 58 1271s # Combination 59 1271s # Combination 60 1271s # Combination 61 1271s # Combination 62 1271s # Combination 63 1271s # Combination 64 1271s # Combination 65 1271s # Combination 66 1271s # Combination 67 1271s # Combination 68 1271s # Combination 69 1271s # Combination 70 1271s # Combination 71 1271s # Combination 72 1271s # Combination 73 1271s # Combination 74 1271s # Combination 75 1271s # Combination 76 1271s # Combination 77 1271s # Combination 78 1271s # Combination 79 1271s # Combination 80 1271s # Combination 81 1271s # Combination 82 1271s # Combination 83 1271s # Combination 84 1271s # Combination 85 1271s # Combination 86 1271s # Combination 87 1271s # Combination 88 1271s # Combination 89 1271s # Combination 90 1271s # Combination 91 1271s # Combination 92 1271s # Combination 93 1271s # Combination 94 1271s # Combination 95 1271s # Combination 96 1271s # Combination 97 1271s # Combination 98 1271s # Combination 99 1271s # Combination 100 1271s # Combination 101 1271s # Combination 102 1271s # Combination 103 1271s # Combination 104 1271s # Combination 105 1271s # Combination 106 1271s # Combination 107 1271s # Combination 108 1271s # Combination 109 1271s # Combination 110 1271s # Combination 111 1271s # Combination 112 1271s # Combination 113 1271s # Combination 114 1271s # Combination 115 1271s # Combination 116 1271s # Combination 117 1271s # Combination 118 1271s # Combination 119 1271s # Combination 120 1271s # Combination 121 1271s # Combination 122 1271s # Combination 123 1271s # Combination 124 1271s # Combination 125 1271s # Combination 126 1271s # Combination 127 1271s # Combination 128 1271s # Combination 129 1271s # Combination 130 1271s # Combination 131 1271s # Combination 132 1271s # Combination 133 1271s # Combination 134 1271s # Combination 135 1271s # Combination 136 1271s # Combination 137 1271s # Combination 138 1271s # Combination 139 1271s # Combination 140 1271s # Combination 141 1271s # Combination 142 1271s # Combination 143 1271s # Combination 144 1271s # Combination 145 1271s # Combination 146 1271s # Combination 147 1271s # Combination 148 1271s # Combination 149 1271s # Combination 150 1271s # Combination 151 1271s # Combination 152 1271s # Combination 153 1271s # Combination 154 1271s # Combination 155 1271s # Combination 156 1271s # Combination 157 1271s # Combination 158 1271s # Combination 159 1271s # Combination 160 1271s # Combination 161 1271s # Combination 162 1271s # Combination 163 1271s # Combination 164 1271s # Combination 165 1271s # Combination 166 1271s # Combination 167 1271s # Combination 168 1271s # Combination 169 1271s # Combination 170 1271s # Combination 171 1271s # Combination 172 1271s # Combination 173 1271s # Combination 174 1271s # Combination 175 1271s # Combination 176 1271s # Combination 177 1271s # Combination 178 1271s # Combination 179 1271s # Combination 180 1271s # Combination 181 1271s # Combination 182 1271s # Combination 183 1271s # Combination 184 1271s # Combination 185 1271s # Combination 186 1271s # Combination 187 1271s # Combination 188 1271s # Combination 189 1271s # Combination 190 1271s # Combination 191 1271s # Combination 192 1271s # Combination 193 1271s # Combination 194 1271s # Combination 195 1271s # Combination 196 1271s # Combination 197 1271s # Combination 198 1271s # Combination 199 1271s # Combination 200 1271s # Combination 201 1271s # Combination 202 1271s # Combination 203 1271s # Combination 204 1271s # Combination 205 1271s # Combination 206 1271s # Combination 207 1271s # Combination 208 1271s # Combination 209 1271s # Combination 210 1271s # Combination 211 1271s # Combination 212 1271s # Combination 213 1271s # Combination 214 1271s # Combination 215 1271s # Combination 216 1271s # Combination 217 1271s # Combination 218 1271s # Combination 219 1271s # Combination 220 1271s # Combination 221 1271s # Combination 222 1271s # Combination 223 1271s # Combination 224 1271s # Combination 225 1271s # Combination 226 1271s # Combination 227 1271s # Combination 228 1271s # Combination 229 1271s # Combination 230 1271s # Combination 231 1271s # Combination 232 1271s # Combination 233 1271s # Combination 234 1271s # Combination 235 1271s # Combination 236 1271s # Combination 237 1271s # Combination 238 1271s # Combination 239 1271s # Combination 240 1271s # Combination 241 1271s # Combination 242 1271s # Combination 243 1271s # Combination 244 1271s # Combination 245 1271s # Combination 246 1271s # Combination 247 1271s # Combination 248 1271s # Combination 249 1271s # Combination 250 1271s # Combination 251 1271s # Combination 252 1271s # Combination 253 1271s # Combination 254 1271s # Combination 255 1271s ok 15 /uri/join-split-round-trip 1271s ok 16 /uri/normalize 1271s # Start of unescape-bytes tests 1271s # Test 0: %00%00 1271s # Test 1: /cursors/none.png 1271s # Test 2: /cursors%2fbad-subdir/none.png 1271s # Test 3: %% 1271s # Test 4: % 1271s ok 17 /uri/unescape-bytes/nul-terminated 1271s # Test 0: %00%00 1271s # Test 1: /cursors/none.png 1271s # Test 2: /cursors%2fbad-subdir/none.png 1271s # Test 3: %% 1271s # Test 4: % 1271s ok 18 /uri/unescape-bytes/length 1271s # End of unescape-bytes tests 1271s # Start of parsing tests 1271s # Test 0: foo: 1271s # Test 1: file:/dev/null 1271s # Test 2: file:///dev/null 1271s # Test 3: ftp://user@host/path 1271s # Test 4: ftp://user@host:9999/path 1271s # Test 5: ftp://user:password@host/path 1271s # Test 6: ftp://user:password@host:9999/path 1271s # Test 7: ftp://user:password@host 1271s # Test 8: http://us%65r@host 1271s # Test 9: http://us%40r@host 1271s # Test 10: http://us%3ar@host 1271s # Test 11: http://us%2fr@host 1271s # Test 12: http://us%3fr@host 1271s # Test 13: http://host?query 1271s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1271s # 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 1271s # Test 16: http://space/%20 1271s # Test 17: http://delims/%3C%3E%23%25%22 1271s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1271s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1271s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1271s # Test 21: http://[3ffe:2a00:100:7031::1] 1271s # Test 22: http://[1080::8:800:200C:417A]/foo 1271s # Test 23: http://[::192.9.5.5]/ipng 1271s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1271s # Test 25: http://[2010:836B:4179::836B:4179] 1271s # Test 26: http://host/path with spaces 1271s # Test 27: http://host/path 1271s # Test 28: http://host/path 1271s # Test 29: http://host 1271s # Test 30: http://host:999 1271s # Test 31: http://host/pa 1271s # th 1271s # Test 32: http: 1271s # //host/path 1271s # Test 33: http:// host/path 1271s # Test 34: http://host/path? 1271s # Test 35: http://host/path# 1271s # Test 36: http://host/path% 1271s # Test 37: http://h%ost/path 1271s # Test 38: http://host/path%% 1271s # Test 39: http://host/path%%% 1271s # Test 40: http://host/path%/x/ 1271s # Test 41: http://host/path%0x/ 1271s # Test 42: http://host/path%ax 1271s # Test 43: http://host/p?th/ 1271s # Test 44: HTTP://////////////// 1271s # Test 45: http://@host 1271s # Test 46: http://:@host 1271s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1271s # Test 48: http://example.com/.. 1271s # Test 49: foo0://host/path 1271s # Test 50: f0.o://host/path 1271s # Test 51: http++://host/path 1271s # Test 52: http-ish://host/path 1271s # Test 53: http://[fe80::dead:beef%]/ 1271s # Test 54: http://[fe80::dead:beef%em1]/ 1271s # Test 55: http://[fe80::dead:beef%em1]/ 1271s # Test 56: http://[fe80::dead:beef%25em1]/ 1271s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1271s # Test 58: http://[fe80::dead:beef%25em%31]/ 1271s # Test 59: http://[fe80::dead:beef%10]/ 1271s # Test 60: http://[fe80::dead:beef%10]/ 1271s # Test 61: http://[fe80::dead:beef%25]/ 1271s # Test 62: http://[fe80::dead:beef%25]/ 1271s # Test 63: http://[192.168.0.1%25em1]/ 1271s # Test 64: http://[fe80::dead:beef%2em1]/ 1271s # Test 65: http://[fe80::dead:beef%2em1]/ 1271s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1271s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1271s # Test 68: http://xn--mixed-?p/ 1271s # Test 69: data:./// 1271s # Test 70: data:/.// 1271s ok 19 /uri/parsing/absolute 1271s ok 20 /uri/parsing/relative 1271s # End of parsing tests 1271s # Start of iter-params tests 1271s # URI 0: p1=foo&p2=bar;p3=baz 1271s # URI 1: p1=foo&p2=bar 1271s # URI 2: p1=foo&&P1=bar 1271s # URI 3: %00=foo 1271s # URI 4: p1=%00 1271s # URI 5: p1=foo&p1=bar 1271s # URI 6: p1=foo&P1=bar 1271s # URI 7: =% 1271s # URI 8: = 1271s # URI 9: foo 1271s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1271s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1271s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1271s ok 21 /uri/iter-params/nul-terminated 1271s # URI 0: p1=foo&p2=bar;p3=baz 1271s # URI 1: p1=foo&p2=bar 1271s # URI 2: p1=foo&&P1=bar 1271s # URI 3: %00=foo 1271s # URI 4: p1=%00 1271s # URI 5: p1=foo&p1=bar 1271s # URI 6: p1=foo&P1=bar 1271s # URI 7: =% 1271s # URI 8: = 1271s # URI 9: foo 1271s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1271s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1271s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1271s ok 22 /uri/iter-params/length 1271s # End of iter-params tests 1271s # Start of parse-params tests 1271s # URI 0: p1=foo&p2=bar;p3=baz 1271s # URI 1: p1=foo&p2=bar 1271s # URI 2: p1=foo&&P1=bar 1271s # URI 3: %00=foo 1271s # URI 4: p1=%00 1271s # URI 5: p1=foo&p1=bar 1271s # URI 6: p1=foo&P1=bar 1271s # URI 7: =% 1271s # URI 8: = 1271s # URI 9: foo 1271s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1271s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1271s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1271s ok 23 /uri/parse-params/nul-terminated 1271s # URI 0: p1=foo&p2=bar;p3=baz 1271s # URI 1: p1=foo&p2=bar 1271s # URI 2: p1=foo&&P1=bar 1271s # URI 3: %00=foo 1271s # URI 4: p1=%00 1271s # URI 5: p1=foo&p1=bar 1271s # URI 6: p1=foo&P1=bar 1271s # URI 7: =% 1271s # URI 8: = 1271s # URI 9: foo 1271s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1271s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1271s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1271s ok 24 /uri/parse-params/length 1271s # End of parse-params tests 1271s # End of uri tests 1271s ok - glib/uri.test 1271s # Running test: glib/trash.test 1271s TAP version 14 1271s # random seed: R02S942cc78881130d5cf1fedcabdd2116e6 1271s 1..3 1271s # Start of trash tests 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1271s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1271s # File: /tmp/test-trashP34D22 (parent st_dev: 64769) 1271s # Home: /home/ubuntu (st_dev: 64769) 1271s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1271s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1271s # Target: /home/ubuntu/.local (mount: /) 1271s # Tmp: /tmp/test-trashV30D22 (mount: /) 1271s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1271s ok 3 /trash/long-filename 1271s # End of trash tests 1271s ok - glib/trash.test 1271s # Running test: glib/data-output-stream.test 1271s TAP version 14 1271s # random seed: R02Se926af57343ab670836ac2b93b5b32cc 1271s 1..7 1271s # Start of data-output-stream tests 1271s ok 1 /data-output-stream/basic 1271s ok 2 /data-output-stream/write-lines-LF 1271s ok 3 /data-output-stream/write-lines-CR 1271s ok 4 /data-output-stream/write-lines-CR-LF 1271s ok 5 /data-output-stream/write-int 1271s ok 6 /data-output-stream/seek 1271s ok 7 /data-output-stream/truncate 1271s # End of data-output-stream tests 1271s ok - glib/data-output-stream.test 1271s # Running test: glib/fileattributematcher.test 1271s TAP version 14 1271s # random seed: R02Sfe0ebe6da8e76ed0aaeebb865d46307e 1271s 1..3 1271s # Start of fileattributematcher tests 1271s ok 1 /fileattributematcher/exact 1271s ok 2 /fileattributematcher/equality 1271s ok 3 /fileattributematcher/subtract 1271s # End of fileattributematcher tests 1271s ok - glib/fileattributematcher.test 1271s # Running test: glib/volumemonitor.test 1271s TAP version 14 1271s # random seed: R02S90864e85366baa48cb18e05658a3338a 1271s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1271s 1..3 1271s # Start of volumemonitor tests 1271s ok 1 /volumemonitor/connected_drives 1271s ok 2 /volumemonitor/volumes 1271s ok 3 /volumemonitor/mounts 1271s # End of volumemonitor tests 1271s ok - glib/volumemonitor.test 1271s # Running test: glib/utf8-validate.test 1271s TAP version 14 1271s # random seed: R02Sa9e99c053d5688f5b38efbfe4f794860 1271s 1..238 1271s # Start of utf8 tests 1271s # Vector 0 1271s # Vector 1 1271s # Vector 2 1271s # Vector 3 1271s # Vector 4 1271s # Vector 5 1271s # Vector 6 1271s # Vector 7 1271s # Vector 8 1271s # Vector 9 1271s # Vector 10 1271s # Vector 11 1271s # Vector 12 1271s # Vector 13 1271s # Vector 14 1271s # Vector 15 1271s # Vector 16 1271s # Vector 17 1271s # Vector 18 1271s # Vector 19 1271s # Vector 20 1271s # Vector 21 1271s # Vector 22 1271s # Vector 23 1271s # Vector 24 1271s # Vector 25 1271s # Vector 26 1271s # Vector 27 1271s ok 1 /utf8/get-char-validated 1271s # Start of validate tests 1271s ok 2 /utf8/validate/0 1271s ok 3 /utf8/validate/1 1271s ok 4 /utf8/validate/2 1271s ok 5 /utf8/validate/3 1271s ok 6 /utf8/validate/4 1271s ok 7 /utf8/validate/5 1271s ok 8 /utf8/validate/6 1271s ok 9 /utf8/validate/7 1271s ok 10 /utf8/validate/8 1271s ok 11 /utf8/validate/9 1271s ok 12 /utf8/validate/10 1271s ok 13 /utf8/validate/11 1271s ok 14 /utf8/validate/12 1271s ok 15 /utf8/validate/13 1271s ok 16 /utf8/validate/14 1271s ok 17 /utf8/validate/15 1271s ok 18 /utf8/validate/16 1271s ok 19 /utf8/validate/17 1271s ok 20 /utf8/validate/18 1271s ok 21 /utf8/validate/19 1271s ok 22 /utf8/validate/20 1271s ok 23 /utf8/validate/21 1271s ok 24 /utf8/validate/22 1271s ok 25 /utf8/validate/23 1271s ok 26 /utf8/validate/24 1271s ok 27 /utf8/validate/25 1271s ok 28 /utf8/validate/26 1271s ok 29 /utf8/validate/27 1271s ok 30 /utf8/validate/28 1271s ok 31 /utf8/validate/29 1271s ok 32 /utf8/validate/30 1271s ok 33 /utf8/validate/31 1271s ok 34 /utf8/validate/32 1271s ok 35 /utf8/validate/33 1271s ok 36 /utf8/validate/34 1271s ok 37 /utf8/validate/35 1271s ok 38 /utf8/validate/36 1271s ok 39 /utf8/validate/37 1271s ok 40 /utf8/validate/38 1271s ok 41 /utf8/validate/39 1271s ok 42 /utf8/validate/40 1271s ok 43 /utf8/validate/41 1271s ok 44 /utf8/validate/42 1271s ok 45 /utf8/validate/43 1271s ok 46 /utf8/validate/44 1271s ok 47 /utf8/validate/45 1271s ok 48 /utf8/validate/46 1271s ok 49 /utf8/validate/47 1271s ok 50 /utf8/validate/48 1271s ok 51 /utf8/validate/49 1271s ok 52 /utf8/validate/50 1271s ok 53 /utf8/validate/51 1271s ok 54 /utf8/validate/52 1271s ok 55 /utf8/validate/53 1271s ok 56 /utf8/validate/54 1271s ok 57 /utf8/validate/55 1271s ok 58 /utf8/validate/56 1271s ok 59 /utf8/validate/57 1271s ok 60 /utf8/validate/58 1271s ok 61 /utf8/validate/59 1271s ok 62 /utf8/validate/60 1271s ok 63 /utf8/validate/61 1271s ok 64 /utf8/validate/62 1271s ok 65 /utf8/validate/63 1271s ok 66 /utf8/validate/64 1271s ok 67 /utf8/validate/65 1271s ok 68 /utf8/validate/66 1271s ok 69 /utf8/validate/67 1271s ok 70 /utf8/validate/68 1271s ok 71 /utf8/validate/69 1271s ok 72 /utf8/validate/70 1271s ok 73 /utf8/validate/71 1271s ok 74 /utf8/validate/72 1271s ok 75 /utf8/validate/73 1271s ok 76 /utf8/validate/74 1271s ok 77 /utf8/validate/75 1271s ok 78 /utf8/validate/76 1271s ok 79 /utf8/validate/77 1271s ok 80 /utf8/validate/78 1271s ok 81 /utf8/validate/79 1271s ok 82 /utf8/validate/80 1271s ok 83 /utf8/validate/81 1271s ok 84 /utf8/validate/82 1271s ok 85 /utf8/validate/83 1271s ok 86 /utf8/validate/84 1271s ok 87 /utf8/validate/85 1271s ok 88 /utf8/validate/86 1271s ok 89 /utf8/validate/87 1271s ok 90 /utf8/validate/88 1271s ok 91 /utf8/validate/89 1271s ok 92 /utf8/validate/90 1271s ok 93 /utf8/validate/91 1271s ok 94 /utf8/validate/92 1271s ok 95 /utf8/validate/93 1271s ok 96 /utf8/validate/94 1271s ok 97 /utf8/validate/95 1271s ok 98 /utf8/validate/96 1271s ok 99 /utf8/validate/97 1271s ok 100 /utf8/validate/98 1271s ok 101 /utf8/validate/99 1271s ok 102 /utf8/validate/100 1271s ok 103 /utf8/validate/101 1271s ok 104 /utf8/validate/102 1271s ok 105 /utf8/validate/103 1271s ok 106 /utf8/validate/104 1271s ok 107 /utf8/validate/105 1271s ok 108 /utf8/validate/106 1271s ok 109 /utf8/validate/107 1271s ok 110 /utf8/validate/108 1271s ok 111 /utf8/validate/109 1271s ok 112 /utf8/validate/110 1271s ok 113 /utf8/validate/111 1271s ok 114 /utf8/validate/112 1271s ok 115 /utf8/validate/113 1271s ok 116 /utf8/validate/114 1271s ok 117 /utf8/validate/115 1271s ok 118 /utf8/validate/116 1271s ok 119 /utf8/validate/117 1271s ok 120 /utf8/validate/118 1271s ok 121 /utf8/validate/119 1271s ok 122 /utf8/validate/120 1271s ok 123 /utf8/validate/121 1271s ok 124 /utf8/validate/122 1271s ok 125 /utf8/validate/123 1271s ok 126 /utf8/validate/124 1271s ok 127 /utf8/validate/125 1271s ok 128 /utf8/validate/126 1271s ok 129 /utf8/validate/127 1271s ok 130 /utf8/validate/128 1271s ok 131 /utf8/validate/129 1271s ok 132 /utf8/validate/130 1271s ok 133 /utf8/validate/131 1271s ok 134 /utf8/validate/132 1271s ok 135 /utf8/validate/133 1271s ok 136 /utf8/validate/134 1271s ok 137 /utf8/validate/135 1271s ok 138 /utf8/validate/136 1271s ok 139 /utf8/validate/137 1271s ok 140 /utf8/validate/138 1271s ok 141 /utf8/validate/139 1271s ok 142 /utf8/validate/140 1271s ok 143 /utf8/validate/141 1271s ok 144 /utf8/validate/142 1271s ok 145 /utf8/validate/143 1271s ok 146 /utf8/validate/144 1271s ok 147 /utf8/validate/145 1271s ok 148 /utf8/validate/146 1271s ok 149 /utf8/validate/147 1271s ok 150 /utf8/validate/148 1271s ok 151 /utf8/validate/149 1271s ok 152 /utf8/validate/150 1271s ok 153 /utf8/validate/151 1271s ok 154 /utf8/validate/152 1271s ok 155 /utf8/validate/153 1271s ok 156 /utf8/validate/154 1271s ok 157 /utf8/validate/155 1271s ok 158 /utf8/validate/156 1271s ok 159 /utf8/validate/157 1271s ok 160 /utf8/validate/158 1271s ok 161 /utf8/validate/159 1271s ok 162 /utf8/validate/160 1271s ok 163 /utf8/validate/161 1271s ok 164 /utf8/validate/162 1271s ok 165 /utf8/validate/163 1271s ok 166 /utf8/validate/164 1271s ok 167 /utf8/validate/165 1271s ok 168 /utf8/validate/166 1271s ok 169 /utf8/validate/167 1271s ok 170 /utf8/validate/168 1271s ok 171 /utf8/validate/169 1271s ok 172 /utf8/validate/170 1271s ok 173 /utf8/validate/171 1271s ok 174 /utf8/validate/172 1271s ok 175 /utf8/validate/173 1271s ok 176 /utf8/validate/174 1271s ok 177 /utf8/validate/175 1271s ok 178 /utf8/validate/176 1271s ok 179 /utf8/validate/177 1271s ok 180 /utf8/validate/178 1271s ok 181 /utf8/validate/179 1271s ok 182 /utf8/validate/180 1271s ok 183 /utf8/validate/181 1271s ok 184 /utf8/validate/182 1271s ok 185 /utf8/validate/183 1271s ok 186 /utf8/validate/184 1271s ok 187 /utf8/validate/185 1271s ok 188 /utf8/validate/186 1271s ok 189 /utf8/validate/187 1271s ok 190 /utf8/validate/188 1271s ok 191 /utf8/validate/189 1271s ok 192 /utf8/validate/190 1271s ok 193 /utf8/validate/191 1271s ok 194 /utf8/validate/192 1271s ok 195 /utf8/validate/193 1271s ok 196 /utf8/validate/194 1271s ok 197 /utf8/validate/195 1271s ok 198 /utf8/validate/196 1271s ok 199 /utf8/validate/197 1271s ok 200 /utf8/validate/198 1271s ok 201 /utf8/validate/199 1271s ok 202 /utf8/validate/200 1271s ok 203 /utf8/validate/201 1271s ok 204 /utf8/validate/202 1271s ok 205 /utf8/validate/203 1271s ok 206 /utf8/validate/204 1271s ok 207 /utf8/validate/205 1271s ok 208 /utf8/validate/206 1271s ok 209 /utf8/validate/207 1271s ok 210 /utf8/validate/208 1271s ok 211 /utf8/validate/209 1271s ok 212 /utf8/validate/210 1271s ok 213 /utf8/validate/211 1271s ok 214 /utf8/validate/212 1271s ok 215 /utf8/validate/213 1271s ok 216 /utf8/validate/214 1271s ok 217 /utf8/validate/215 1271s ok 218 /utf8/validate/216 1271s ok 219 /utf8/validate/217 1271s ok 220 /utf8/validate/218 1271s ok 221 /utf8/validate/219 1271s ok 222 /utf8/validate/220 1271s ok 223 /utf8/validate/221 1271s ok 224 /utf8/validate/222 1271s ok 225 /utf8/validate/223 1271s ok 226 /utf8/validate/224 1271s ok 227 /utf8/validate/225 1271s ok 228 /utf8/validate/226 1271s ok 229 /utf8/validate/227 1271s ok 230 /utf8/validate/228 1271s ok 231 /utf8/validate/229 1271s ok 232 /utf8/validate/230 1271s ok 233 /utf8/validate/231 1271s ok 234 /utf8/validate/232 1271s ok 235 /utf8/validate/233 1271s ok 236 /utf8/validate/234 1271s ok 237 /utf8/validate/235 1271s ok 238 /utf8/validate/236 1271s # End of validate tests 1271s # End of utf8 tests 1271s ok - glib/utf8-validate.test 1271s # Running test: glib/pattern.test 1271s TAP version 14 1271s # random seed: R02Seb9b7234a49ed7e33a216b50e0c7e125 1271s 1..90 1271s # Start of pattern tests 1271s # Start of compile tests 1271s ok 1 /pattern/compile/0 1271s ok 2 /pattern/compile/1 1271s ok 3 /pattern/compile/2 1271s ok 4 /pattern/compile/3 1271s ok 5 /pattern/compile/4 1271s ok 6 /pattern/compile/5 1271s ok 7 /pattern/compile/6 1271s ok 8 /pattern/compile/7 1271s ok 9 /pattern/compile/8 1271s ok 10 /pattern/compile/9 1271s ok 11 /pattern/compile/10 1271s ok 12 /pattern/compile/11 1271s ok 13 /pattern/compile/12 1271s ok 14 /pattern/compile/13 1271s # End of compile tests 1271s # Start of copy tests 1271s ok 15 /pattern/copy/0 1271s ok 16 /pattern/copy/1 1271s ok 17 /pattern/copy/2 1271s ok 18 /pattern/copy/3 1271s ok 19 /pattern/copy/4 1271s ok 20 /pattern/copy/5 1271s ok 21 /pattern/copy/6 1271s ok 22 /pattern/copy/7 1271s ok 23 /pattern/copy/8 1271s ok 24 /pattern/copy/9 1271s ok 25 /pattern/copy/10 1271s ok 26 /pattern/copy/11 1271s ok 27 /pattern/copy/12 1271s ok 28 /pattern/copy/13 1271s # End of copy tests 1271s # Start of match tests 1271s ok 29 /pattern/match/0 1271s ok 30 /pattern/match/1 1271s ok 31 /pattern/match/2 1271s ok 32 /pattern/match/3 1271s ok 33 /pattern/match/4 1271s ok 34 /pattern/match/5 1271s ok 35 /pattern/match/6 1271s ok 36 /pattern/match/7 1271s ok 37 /pattern/match/8 1271s ok 38 /pattern/match/9 1271s ok 39 /pattern/match/10 1271s ok 40 /pattern/match/11 1271s ok 41 /pattern/match/12 1271s ok 42 /pattern/match/13 1271s ok 43 /pattern/match/14 1271s ok 44 /pattern/match/15 1271s ok 45 /pattern/match/16 1271s ok 46 /pattern/match/17 1271s ok 47 /pattern/match/18 1271s ok 48 /pattern/match/19 1271s ok 49 /pattern/match/20 1271s ok 50 /pattern/match/21 1271s ok 51 /pattern/match/22 1271s ok 52 /pattern/match/23 1271s ok 53 /pattern/match/24 1271s ok 54 /pattern/match/25 1271s ok 55 /pattern/match/26 1271s ok 56 /pattern/match/27 1271s ok 57 /pattern/match/28 1271s ok 58 /pattern/match/29 1271s ok 59 /pattern/match/30 1271s ok 60 /pattern/match/31 1271s ok 61 /pattern/match/32 1271s ok 62 /pattern/match/33 1271s ok 63 /pattern/match/34 1271s ok 64 /pattern/match/35 1271s ok 65 /pattern/match/36 1271s ok 66 /pattern/match/37 1271s ok 67 /pattern/match/38 1271s ok 68 /pattern/match/39 1271s ok 69 /pattern/match/40 1271s ok 70 /pattern/match/41 1271s ok 71 /pattern/match/42 1271s ok 72 /pattern/match/43 1271s ok 73 /pattern/match/44 1271s ok 74 /pattern/match/45 1271s ok 75 /pattern/match/46 1271s ok 76 /pattern/match/47 1271s ok 77 /pattern/match/48 1271s ok 78 /pattern/match/49 1271s ok 79 /pattern/match/50 1271s # End of match tests 1271s # Start of equal tests 1271s ok 80 /pattern/equal/0 1271s ok 81 /pattern/equal/1 1271s ok 82 /pattern/equal/2 1271s ok 83 /pattern/equal/3 1271s ok 84 /pattern/equal/4 1271s ok 85 /pattern/equal/5 1271s ok 86 /pattern/equal/6 1271s ok 87 /pattern/equal/7 1271s ok 88 /pattern/equal/8 1271s ok 89 /pattern/equal/9 1271s ok 90 /pattern/equal/10 1271s # End of equal tests 1271s # End of pattern tests 1271s ok - glib/pattern.test 1271s # Running test: glib/signals-refcount4.test 1271s TAP version 14 1271s # random seed: R02S70b467507b99b28d46f2f53d8406b766 1271s 1..1 1271s # Start of gobject tests 1271s # Start of refcount tests 1271s # init 0xad1c27695430 1271s # 1271s # init 0xad1c276955d0 1271s # 1274s # Executing: glib/signals-refcount4.test 1276s # dispose 0xad1c27695430! 1276s # 1276s # dispose 0xad1c276955d0! 1276s # 1276s ok 1 /gobject/refcount/signals 1276s # slow test /gobject/refcount/signals executed in 5.00 secs 1276s # End of refcount tests 1276s # End of gobject tests 1276s ok - glib/signals-refcount4.test 1276s # Running test: glib/mapping.test 1276s TAP version 14 1276s # random seed: R02Safbfa94964f1b0f5f0a8bd3aeab7aec5 1276s 1..3 1276s # Start of mapping tests 1276s # test_mapping: ok 1276s ok 1 /mapping/flags 1276s ok 2 /mapping/private 1276s # test_child_private: child spawned 1276s # Subtest: /usr/libexec/installed-tests/glib/mapping 1276s # random seed: R02S510a439822de64c2d9a6e1a660898d04 1276s # test_child_private: received first child signal 1276s # test_child_private: received parent signal 1276s # Child exited with status 0 1276s # test_child_private: received second child signal 1276s ok 3 /mapping/private-child 1276s # End of mapping tests 1276s ok - glib/mapping.test 1276s # Running test: glib/sequence.test 1276s TAP version 14 1276s # random seed: R02S6749da1f5e0fbe74b7b33d8573a13063 1276s 1..16 1276s # Start of sequence tests 1276s ok 1 /sequence/out-of-range-jump 1276s ok 2 /sequence/iter-move 1276s ok 3 /sequence/insert-sorted-non-pointer 1276s ok 4 /sequence/stable-sort 1276s ok 5 /sequence/is_empty 1276s # Start of random tests 1276s ok 6 /sequence/random/seed:825541564 1276s # slow test /sequence/random/seed:825541564 executed in 0.55 secs 1277s ok 7 /sequence/random/seed:801678400 1277s # slow test /sequence/random/seed:801678400 executed in 0.52 secs 1278s ok 8 /sequence/random/seed:1477639090 1278s # slow test /sequence/random/seed:1477639090 executed in 0.54 secs 1278s ok 9 /sequence/random/seed:3369132895 1279s ok 10 /sequence/random/seed:1192944867 1279s # slow test /sequence/random/seed:1192944867 executed in 0.52 secs 1279s ok 11 /sequence/random/seed:770458294 1279s # slow test /sequence/random/seed:770458294 executed in 0.56 secs 1279s # Executing: glib/sequence.test 1280s ok 12 /sequence/random/seed:1099575817 1280s # slow test /sequence/random/seed:1099575817 executed in 0.52 secs 1280s ok 13 /sequence/random/seed:590523467 1280s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 1281s ok 14 /sequence/random/seed:3583571454 1281s # slow test /sequence/random/seed:3583571454 executed in 0.58 secs 1281s ok 15 /sequence/random/seed:579241222 1281s # slow test /sequence/random/seed:579241222 executed in 0.55 secs 1282s ok 16 /sequence/random/seed:218771074 1282s # slow test /sequence/random/seed:218771074 executed in 0.52 secs 1282s # End of random tests 1282s # End of sequence tests 1282s ok - glib/sequence.test 1282s # Running test: glib/unix-streams.test 1282s TAP version 14 1282s # random seed: R02S167163b0e0a68c739186793da0e264ed 1282s 1..9 1282s # Start of unix-streams tests 1282s ok 1 /unix-streams/basic 1282s ok 2 /unix-streams/pipe-io-test 1282s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1283s ok 3 /unix-streams/nonblocking-io-test 1283s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1283s ok 4 /unix-streams/read_write 1283s ok 5 /unix-streams/read_writev 1283s ok 6 /unix-streams/write-wouldblock 1283s ok 7 /unix-streams/writev-wouldblock 1283s ok 8 /unix-streams/write-async-wouldblock 1283s ok 9 /unix-streams/writev-async-wouldblock 1283s # End of unix-streams tests 1283s ok - glib/unix-streams.test 1283s # Running test: glib/properties-introspection.test 1283s TAP version 14 1283s # random seed: R02Seeb23947ce7e2d3086e811d63b894f50 1283s 1..2 1283s # Start of properties tests 1283s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1283s ok 1 /properties/introspection 1283s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1283s ok 2 /properties/collision 1283s # End of properties tests 1283s ok - glib/properties-introspection.test 1283s # Running test: glib/converter-stream.test 1283s TAP version 14 1283s # random seed: R02Sb6503ed1b5ad3ce882a4959bc07973ee 1283s 1..17 1283s # Start of converter tests 1283s ok 1 /converter/basics 1283s # End of converter tests 1283s # Start of converter-input-stream tests 1283s ok 2 /converter-input-stream/expander 1283s ok 3 /converter-input-stream/compressor 1283s # Start of truncation tests 1283s ok 4 /converter-input-stream/truncation/zlib 1283s ok 5 /converter-input-stream/truncation/gzip 1283s ok 6 /converter-input-stream/truncation/raw 1283s # End of truncation tests 1283s # Start of charset tests 1283s ok 7 /converter-input-stream/charset/utf8->latin1 1283s ok 8 /converter-input-stream/charset/latin1->utf8 1283s ok 9 /converter-input-stream/charset/fallbacks 1283s # End of charset tests 1283s # End of converter-input-stream tests 1283s # Start of converter-output-stream tests 1283s # Start of roundtrip tests 1283s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1283s ok 10 /converter-output-stream/roundtrip/zlib-0 1283s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1283s ok 11 /converter-output-stream/roundtrip/zlib-9 1283s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1283s ok 12 /converter-output-stream/roundtrip/gzip-0 1283s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1284s ok 13 /converter-output-stream/roundtrip/gzip-9 1284s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1284s ok 14 /converter-output-stream/roundtrip/raw-0 1284s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1284s ok 15 /converter-output-stream/roundtrip/raw-9 1284s # End of roundtrip tests 1284s # End of converter-output-stream tests 1284s # Start of converter-stream tests 1284s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1284s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc2b59a4abe60 and GSocketClientAsyncConnectData 0xc2b59a8a1330 1284s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1284s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1284s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc2b59a4bc5e0 for GSocketClientAsyncConnectData 0xc2b59a8a1330 1284s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1284s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1284s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1284s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1284s ok 16 /converter-stream/pollable 1284s ok 17 /converter-stream/leftover 1284s # End of converter-stream tests 1284s ok - glib/converter-stream.test 1284s # Running test: glib/gdbus-serialization.test 1284s TAP version 14 1284s # random seed: R02S34c126a9cc441bf08c8be9046dbdc991 1284s 1..18 1284s # Start of gdbus tests 1284s # Start of message-serialize tests 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/basic/.dirs/runtime 1284s ok 1 /gdbus/message-serialize/basic 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/complex/.dirs/runtime 1284s ok 2 /gdbus/message-serialize/complex 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/invalid/.dirs/runtime 1284s ok 3 /gdbus/message-serialize/invalid 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/.dirs/runtime 1284s ok 4 /gdbus/message-serialize/header-checks 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/double-array/.dirs/runtime 1284s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1284s ok 5 /gdbus/message-serialize/double-array 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/empty-structure/.dirs/runtime 1284s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1284s ok 6 /gdbus/message-serialize/empty-structure 1284s # Start of header-checks tests 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1284s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1284s ok 7 /gdbus/message-serialize/header-checks/valid 1284s # End of header-checks tests 1284s # End of message-serialize tests 1284s # Start of message-parse tests 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1284s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1284s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/non-signature-header/.dirs/runtime 1284s ok 9 /gdbus/message-parse/non-signature-header 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-signature-header/.dirs/runtime 1284s ok 10 /gdbus/message-parse/empty-signature-header 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1284s ok 11 /gdbus/message-parse/multiple-signature-header 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1284s ok 12 /gdbus/message-parse/over-long-signature-header 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1284s ok 13 /gdbus/message-parse/deep-header-nesting 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1284s ok 14 /gdbus/message-parse/deep-body-nesting 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/truncated/.dirs/runtime 1284s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1284s ok 15 /gdbus/message-parse/truncated 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/empty-structure/.dirs/runtime 1284s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1284s ok 16 /gdbus/message-parse/empty-structure 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/missing-header/.dirs/runtime 1284s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1284s ok 17 /gdbus/message-parse/missing-header 1284s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/home 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/cache 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/config 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/data 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/state 1284s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_W7ME22/gdbus/message-parse/invalid-header-type/.dirs/runtime 1284s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1284s ok 18 /gdbus/message-parse/invalid-header-type 1284s # End of message-parse tests 1284s # End of gdbus tests 1284s ok - glib/gdbus-serialization.test 1284s # Running test: glib/basic-signals.test 1284s TAP version 14 1284s # random seed: R02S3b1ea03a1b71edca8dbef3558711d39c 1284s 1..1 1284s # Start of gobject tests 1284s ok 1 /gobject/basic-signals 1284s # End of gobject tests 1284s ok - glib/basic-signals.test 1284s # Running test: glib/signals-refcount3.test 1284s TAP version 14 1284s # random seed: R02S13e2425febafd947fbb193b7b10cf02b 1284s 1..1 1284s # Start of gobject tests 1284s # Start of refcount tests 1284s # init 0xc503de261430 1284s # 1284s # init 0xc503de2615d0 1284s # 1284s # Executing: glib/signals-refcount3.test 1289s # dispose 0xc503de261430! 1289s # 1289s # dispose 0xc503de2615d0! 1289s # 1289s ok 1 /gobject/refcount/signals 1289s # slow test /gobject/refcount/signals executed in 5.00 secs 1289s # End of refcount tests 1289s # End of gobject tests 1289s ok - glib/signals-refcount3.test 1289s # Running test: glib/private.test 1289s TAP version 14 1289s # random seed: R02S105b786bfff6b93ebc1da11878132997 1289s 1..8 1289s # Start of thread tests 1289s ok 1 /thread/private1 1289s # Executing: glib/private.test 1290s ok 2 /thread/private2 1290s # slow test /thread/private2 executed in 1.08 secs 1290s ok 3 /thread/private3 1290s ok 4 /thread/staticprivate1 1290s ok 5 /thread/staticprivate2 1290s ok 6 /thread/staticprivate3 1291s ok 7 /thread/staticprivate4 1291s # slow test /thread/staticprivate4 executed in 1.08 secs 1291s ok 8 /thread/staticprivate5 1291s # End of thread tests 1291s ok - glib/private.test 1291s # Running test: glib/onceinit.test 1291s TAP version 14 1291s # random seed: R02Secb18ceaddca9fd72077cb5f3019b833 1291s 1..1 1291s # Start of thread tests 1291s ok 1 /thread/onceinit 1291s # End of thread tests 1291s ok - glib/onceinit.test 1291s # Running test: glib/thread.test 1291s TAP version 14 1291s # random seed: R02S2e4142c557f5922232099c1e96ffe87e 1291s 1..7 1291s # Start of thread tests 1291s ok 1 /thread/thread1 1291s ok 2 /thread/thread2 1291s ok 3 /thread/thread3 1291s ok 4 /thread/thread4 1291s ok 5 /thread/thread5 1291s ok 6 /thread/thread6 1291s ok 7 /thread/thread7 1291s # End of thread tests 1291s ok - glib/thread.test 1291s # Running test: glib/simple-async-result.test 1291s TAP version 14 1291s # random seed: R02S128f7e11ca6bd2f697ad8d051e1ef546 1291s 1..2 1291s # Start of gio tests 1291s # Start of simple-async-result tests 1291s ok 1 /gio/simple-async-result/test 1291s # GLib-GIO-DEBUG: GTask 0xc168f51fd710 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1291s ok 2 /gio/simple-async-result/valid 1291s # End of simple-async-result tests 1291s # End of gio tests 1291s ok - glib/simple-async-result.test 1291s # Running test: glib/convert.test 1291s TAP version 14 1291s # random seed: R02Sc42e0481abc6db457fd92916ea9951c9 1291s 1..14 1291s # Start of conversion tests 1291s ok 1 /conversion/no-conv 1291s ok 2 /conversion/iconv-state 1291s ok 3 /conversion/illegal-sequence 1291s ok 4 /conversion/byte-order 1291s ok 5 /conversion/unicode 1291s ok 6 /conversion/filename-utf8 1291s ok 7 /conversion/filename-display 1291s ok 8 /conversion/convert-embedded-nul 1291s # Start of locale-to-utf8 tests 1291s ok 9 /conversion/locale-to-utf8/embedded-nul 1291s # Start of embedded-nul tests 1291s # Start of subprocess tests 1291s # End of subprocess tests 1291s # End of embedded-nul tests 1291s # End of locale-to-utf8 tests 1291s # Start of locale-from-utf8 tests 1291s ok 10 /conversion/locale-from-utf8/embedded-nul 1291s # Start of embedded-nul tests 1291s # Start of subprocess tests 1291s # End of subprocess tests 1291s # End of embedded-nul tests 1291s # End of locale-from-utf8 tests 1291s # Start of filename-to-utf8 tests 1291s ok 11 /conversion/filename-to-utf8/embedded-nul 1291s # Start of embedded-nul tests 1291s # Start of subprocess tests 1291s # End of subprocess tests 1291s # End of embedded-nul tests 1291s # End of filename-to-utf8 tests 1291s # Start of filename-from-utf8 tests 1291s ok 12 /conversion/filename-from-utf8/embedded-nul 1291s # Start of embedded-nul tests 1291s # Start of subprocess tests 1291s # End of subprocess tests 1291s # End of embedded-nul tests 1291s # End of filename-from-utf8 tests 1291s # Start of filename-from-uri tests 1291s ok 13 /conversion/filename-from-uri/query-is-ignored 1291s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1291s # End of filename-from-uri tests 1291s # End of conversion tests 1291s ok - glib/convert.test 1291s # Running test: glib/string.test 1291s TAP version 14 1291s # random seed: R02S3154774bd0b9864b43a1448d57c11670 1291s 1..23 1291s # Start of string tests 1291s ok 1 /string/test-string-chunks 1291s ok 2 /string/test-string-chunk-insert 1291s ok 3 /string/test-string-new 1291s ok 4 /string/test-string-printf 1291s ok 5 /string/test-string-assign 1291s ok 6 /string/test-string-append-c 1291s ok 7 /string/test-string-append 1291s ok 8 /string/test-string-append-vprintf 1291s ok 9 /string/test-string-prepend-c 1291s ok 10 /string/test-string-prepend 1291s ok 11 /string/test-string-insert 1291s ok 12 /string/test-string-insert-unichar 1291s ok 13 /string/test-string-equal 1291s ok 14 /string/test-string-truncate 1291s ok 15 /string/test-string-overwrite 1291s ok 16 /string/test-string-nul-handling 1291s ok 17 /string/test-string-up-down 1291s ok 18 /string/test-string-set-size 1291s ok 19 /string/test-string-to-bytes 1291s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1291s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1291s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1291s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1291s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1291s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1291s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1291s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1291s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1291s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1291s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1291s # -> 4 replacements, "fd fr fals" 1291s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1291s # -> 3 replacements, "aaaaaaaaa" 1291s # 7: Replacing "a" with "" (limit 0) in "aaa" 1291s # -> 3 replacements, "" 1291s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1291s # -> 1 replacements, "bba" 1291s # 9: Replacing "" with "bar" (limit 0) in "foo" 1291s # -> 4 replacements, "barfbarobarobar" 1291s # 10: Replacing "" with "bar" (limit 1) in "foo" 1291s # -> 1 replacements, "barfoo" 1291s # 11: Replacing "" with "bar" (limit 2) in "foo" 1291s # -> 2 replacements, "barfbaroo" 1291s # 12: Replacing "" with "bar" (limit 3) in "foo" 1291s # -> 3 replacements, "barfbarobaro" 1291s # 13: Replacing "" with "bar" (limit 4) in "foo" 1291s # -> 4 replacements, "barfbarobarobar" 1291s # 14: Replacing "" with "bar" (limit 5) in "foo" 1291s # -> 4 replacements, "barfbarobarobar" 1291s # 15: Replacing "" with "x" (limit 0) in "" 1291s # -> 1 replacements, "x" 1291s # 16: Replacing "" with "" (limit 0) in "" 1291s # -> 1 replacements, "" 1291s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1291s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1291s ok 20 /string/test-string-replace 1291s ok 21 /string/test-string-steal 1291s ok 22 /string/test-string-new-take 1291s # Start of test-string-new-take tests 1291s ok 23 /string/test-string-new-take/null 1291s # End of test-string-new-take tests 1291s # End of string tests 1291s ok - glib/string.test 1291s # Running test: glib/checksum.test 1291s TAP version 14 1291s # random seed: R02S2537743fb492f904a2638f059079b15c 1291s 1..1851 1291s # Start of checksum tests 1291s ok 1 /checksum/unsupported 1291s # Start of MD5 tests 1291s ok 2 /checksum/MD5/0 1291s ok 3 /checksum/MD5/1 1291s ok 4 /checksum/MD5/2 1291s ok 5 /checksum/MD5/3 1291s ok 6 /checksum/MD5/4 1291s ok 7 /checksum/MD5/5 1291s ok 8 /checksum/MD5/6 1291s ok 9 /checksum/MD5/7 1291s ok 10 /checksum/MD5/8 1291s ok 11 /checksum/MD5/9 1291s ok 12 /checksum/MD5/10 1291s ok 13 /checksum/MD5/11 1291s ok 14 /checksum/MD5/12 1291s ok 15 /checksum/MD5/13 1291s ok 16 /checksum/MD5/14 1291s ok 17 /checksum/MD5/15 1291s ok 18 /checksum/MD5/16 1291s ok 19 /checksum/MD5/17 1291s ok 20 /checksum/MD5/18 1291s ok 21 /checksum/MD5/19 1291s ok 22 /checksum/MD5/20 1291s ok 23 /checksum/MD5/21 1291s ok 24 /checksum/MD5/22 1291s ok 25 /checksum/MD5/23 1291s ok 26 /checksum/MD5/24 1291s ok 27 /checksum/MD5/25 1291s ok 28 /checksum/MD5/26 1291s ok 29 /checksum/MD5/27 1291s ok 30 /checksum/MD5/28 1291s ok 31 /checksum/MD5/29 1291s ok 32 /checksum/MD5/30 1291s ok 33 /checksum/MD5/31 1291s ok 34 /checksum/MD5/32 1291s ok 35 /checksum/MD5/33 1291s ok 36 /checksum/MD5/34 1291s ok 37 /checksum/MD5/35 1291s ok 38 /checksum/MD5/36 1291s ok 39 /checksum/MD5/37 1291s ok 40 /checksum/MD5/38 1291s ok 41 /checksum/MD5/39 1291s ok 42 /checksum/MD5/40 1291s ok 43 /checksum/MD5/41 1291s ok 44 /checksum/MD5/42 1291s ok 45 /checksum/MD5/43 1291s ok 46 /checksum/MD5/44 1291s ok 47 /checksum/MD5/45 1291s ok 48 /checksum/MD5/46 1291s ok 49 /checksum/MD5/47 1291s ok 50 /checksum/MD5/48 1291s ok 51 /checksum/MD5/49 1291s ok 52 /checksum/MD5/50 1291s ok 53 /checksum/MD5/51 1291s ok 54 /checksum/MD5/52 1291s ok 55 /checksum/MD5/53 1291s ok 56 /checksum/MD5/54 1291s ok 57 /checksum/MD5/55 1291s ok 58 /checksum/MD5/56 1291s ok 59 /checksum/MD5/57 1291s ok 60 /checksum/MD5/58 1291s ok 61 /checksum/MD5/59 1291s ok 62 /checksum/MD5/60 1291s ok 63 /checksum/MD5/61 1291s ok 64 /checksum/MD5/62 1291s ok 65 /checksum/MD5/63 1291s ok 66 /checksum/MD5/64 1291s ok 67 /checksum/MD5/65 1291s ok 68 /checksum/MD5/66 1291s ok 69 /checksum/MD5/67 1291s ok 70 /checksum/MD5/68 1291s ok 71 /checksum/MD5/69 1291s ok 72 /checksum/MD5/70 1291s ok 73 /checksum/MD5/71 1291s ok 74 /checksum/MD5/72 1291s ok 75 /checksum/MD5/73 1291s ok 76 /checksum/MD5/74 1291s ok 77 /checksum/MD5/75 1291s ok 78 /checksum/MD5/76 1291s ok 79 /checksum/MD5/77 1291s ok 80 /checksum/MD5/78 1291s ok 81 /checksum/MD5/79 1291s ok 82 /checksum/MD5/80 1291s ok 83 /checksum/MD5/81 1291s ok 84 /checksum/MD5/82 1291s ok 85 /checksum/MD5/83 1291s ok 86 /checksum/MD5/84 1291s ok 87 /checksum/MD5/85 1291s ok 88 /checksum/MD5/86 1291s ok 89 /checksum/MD5/87 1291s ok 90 /checksum/MD5/88 1291s ok 91 /checksum/MD5/89 1291s ok 92 /checksum/MD5/90 1291s ok 93 /checksum/MD5/91 1291s ok 94 /checksum/MD5/92 1291s ok 95 /checksum/MD5/93 1291s ok 96 /checksum/MD5/94 1291s ok 97 /checksum/MD5/95 1291s ok 98 /checksum/MD5/96 1291s ok 99 /checksum/MD5/97 1291s ok 100 /checksum/MD5/98 1291s ok 101 /checksum/MD5/99 1291s ok 102 /checksum/MD5/100 1291s ok 103 /checksum/MD5/101 1291s ok 104 /checksum/MD5/102 1291s ok 105 /checksum/MD5/103 1291s ok 106 /checksum/MD5/104 1291s ok 107 /checksum/MD5/105 1291s ok 108 /checksum/MD5/106 1291s ok 109 /checksum/MD5/107 1291s ok 110 /checksum/MD5/108 1291s ok 111 /checksum/MD5/109 1291s ok 112 /checksum/MD5/110 1291s ok 113 /checksum/MD5/111 1291s ok 114 /checksum/MD5/112 1291s ok 115 /checksum/MD5/113 1291s ok 116 /checksum/MD5/114 1291s ok 117 /checksum/MD5/115 1291s ok 118 /checksum/MD5/116 1291s ok 119 /checksum/MD5/117 1291s ok 120 /checksum/MD5/118 1291s ok 121 /checksum/MD5/119 1291s ok 122 /checksum/MD5/120 1291s ok 123 /checksum/MD5/121 1291s ok 124 /checksum/MD5/122 1291s ok 125 /checksum/MD5/123 1291s ok 126 /checksum/MD5/124 1291s ok 127 /checksum/MD5/125 1291s ok 128 /checksum/MD5/126 1291s ok 129 /checksum/MD5/127 1291s ok 130 /checksum/MD5/128 1291s ok 131 /checksum/MD5/129 1291s ok 132 /checksum/MD5/130 1291s ok 133 /checksum/MD5/131 1291s ok 134 /checksum/MD5/132 1291s ok 135 /checksum/MD5/133 1291s ok 136 /checksum/MD5/134 1291s ok 137 /checksum/MD5/135 1291s ok 138 /checksum/MD5/136 1291s ok 139 /checksum/MD5/137 1291s ok 140 /checksum/MD5/138 1291s ok 141 /checksum/MD5/139 1291s ok 142 /checksum/MD5/140 1291s ok 143 /checksum/MD5/141 1291s ok 144 /checksum/MD5/142 1291s ok 145 /checksum/MD5/143 1291s ok 146 /checksum/MD5/144 1291s ok 147 /checksum/MD5/145 1291s ok 148 /checksum/MD5/146 1291s ok 149 /checksum/MD5/147 1291s ok 150 /checksum/MD5/148 1291s ok 151 /checksum/MD5/149 1291s ok 152 /checksum/MD5/150 1291s ok 153 /checksum/MD5/151 1291s ok 154 /checksum/MD5/152 1291s ok 155 /checksum/MD5/153 1291s ok 156 /checksum/MD5/154 1291s ok 157 /checksum/MD5/155 1291s ok 158 /checksum/MD5/156 1291s ok 159 /checksum/MD5/157 1291s ok 160 /checksum/MD5/158 1291s ok 161 /checksum/MD5/159 1291s ok 162 /checksum/MD5/160 1291s ok 163 /checksum/MD5/161 1291s ok 164 /checksum/MD5/162 1291s ok 165 /checksum/MD5/163 1291s ok 166 /checksum/MD5/164 1291s ok 167 /checksum/MD5/165 1291s ok 168 /checksum/MD5/166 1291s ok 169 /checksum/MD5/167 1291s ok 170 /checksum/MD5/168 1291s ok 171 /checksum/MD5/169 1291s ok 172 /checksum/MD5/170 1291s ok 173 /checksum/MD5/171 1291s ok 174 /checksum/MD5/172 1291s ok 175 /checksum/MD5/173 1291s ok 176 /checksum/MD5/174 1291s ok 177 /checksum/MD5/175 1291s ok 178 /checksum/MD5/176 1291s ok 179 /checksum/MD5/177 1291s ok 180 /checksum/MD5/178 1291s ok 181 /checksum/MD5/179 1291s ok 182 /checksum/MD5/180 1291s ok 183 /checksum/MD5/181 1291s ok 184 /checksum/MD5/182 1291s ok 185 /checksum/MD5/183 1291s ok 186 /checksum/MD5/string 1291s ok 187 /checksum/MD5/bytes 1291s # Start of reset tests 1291s ok 188 /checksum/MD5/reset/0 1291s ok 189 /checksum/MD5/reset/1 1291s ok 190 /checksum/MD5/reset/2 1291s ok 191 /checksum/MD5/reset/3 1291s ok 192 /checksum/MD5/reset/4 1291s ok 193 /checksum/MD5/reset/5 1291s ok 194 /checksum/MD5/reset/6 1291s ok 195 /checksum/MD5/reset/7 1291s ok 196 /checksum/MD5/reset/8 1291s ok 197 /checksum/MD5/reset/9 1291s ok 198 /checksum/MD5/reset/10 1291s ok 199 /checksum/MD5/reset/11 1291s ok 200 /checksum/MD5/reset/12 1291s ok 201 /checksum/MD5/reset/13 1291s ok 202 /checksum/MD5/reset/14 1291s ok 203 /checksum/MD5/reset/15 1291s ok 204 /checksum/MD5/reset/16 1291s ok 205 /checksum/MD5/reset/17 1291s ok 206 /checksum/MD5/reset/18 1291s ok 207 /checksum/MD5/reset/19 1291s ok 208 /checksum/MD5/reset/20 1291s ok 209 /checksum/MD5/reset/21 1291s ok 210 /checksum/MD5/reset/22 1291s ok 211 /checksum/MD5/reset/23 1291s ok 212 /checksum/MD5/reset/24 1291s ok 213 /checksum/MD5/reset/25 1291s ok 214 /checksum/MD5/reset/26 1291s ok 215 /checksum/MD5/reset/27 1291s ok 216 /checksum/MD5/reset/28 1291s ok 217 /checksum/MD5/reset/29 1291s ok 218 /checksum/MD5/reset/30 1291s ok 219 /checksum/MD5/reset/31 1291s ok 220 /checksum/MD5/reset/32 1291s ok 221 /checksum/MD5/reset/33 1291s ok 222 /checksum/MD5/reset/34 1291s ok 223 /checksum/MD5/reset/35 1291s ok 224 /checksum/MD5/reset/36 1291s ok 225 /checksum/MD5/reset/37 1291s ok 226 /checksum/MD5/reset/38 1291s ok 227 /checksum/MD5/reset/39 1291s ok 228 /checksum/MD5/reset/40 1291s ok 229 /checksum/MD5/reset/41 1291s ok 230 /checksum/MD5/reset/42 1291s ok 231 /checksum/MD5/reset/43 1291s ok 232 /checksum/MD5/reset/44 1291s ok 233 /checksum/MD5/reset/45 1291s ok 234 /checksum/MD5/reset/46 1291s ok 235 /checksum/MD5/reset/47 1291s ok 236 /checksum/MD5/reset/48 1291s ok 237 /checksum/MD5/reset/49 1291s ok 238 /checksum/MD5/reset/50 1291s ok 239 /checksum/MD5/reset/51 1291s ok 240 /checksum/MD5/reset/52 1291s ok 241 /checksum/MD5/reset/53 1291s ok 242 /checksum/MD5/reset/54 1291s ok 243 /checksum/MD5/reset/55 1291s ok 244 /checksum/MD5/reset/56 1291s ok 245 /checksum/MD5/reset/57 1291s ok 246 /checksum/MD5/reset/58 1291s ok 247 /checksum/MD5/reset/59 1291s ok 248 /checksum/MD5/reset/60 1291s ok 249 /checksum/MD5/reset/61 1291s ok 250 /checksum/MD5/reset/62 1291s ok 251 /checksum/MD5/reset/63 1291s ok 252 /checksum/MD5/reset/64 1291s ok 253 /checksum/MD5/reset/65 1291s ok 254 /checksum/MD5/reset/66 1291s ok 255 /checksum/MD5/reset/67 1291s ok 256 /checksum/MD5/reset/68 1291s ok 257 /checksum/MD5/reset/69 1291s ok 258 /checksum/MD5/reset/70 1291s ok 259 /checksum/MD5/reset/71 1291s ok 260 /checksum/MD5/reset/72 1291s ok 261 /checksum/MD5/reset/73 1291s ok 262 /checksum/MD5/reset/74 1291s ok 263 /checksum/MD5/reset/75 1291s ok 264 /checksum/MD5/reset/76 1291s ok 265 /checksum/MD5/reset/77 1291s ok 266 /checksum/MD5/reset/78 1291s ok 267 /checksum/MD5/reset/79 1291s ok 268 /checksum/MD5/reset/80 1291s ok 269 /checksum/MD5/reset/81 1291s ok 270 /checksum/MD5/reset/82 1291s ok 271 /checksum/MD5/reset/83 1291s ok 272 /checksum/MD5/reset/84 1291s ok 273 /checksum/MD5/reset/85 1291s ok 274 /checksum/MD5/reset/86 1291s ok 275 /checksum/MD5/reset/87 1291s ok 276 /checksum/MD5/reset/88 1291s ok 277 /checksum/MD5/reset/89 1291s ok 278 /checksum/MD5/reset/90 1291s ok 279 /checksum/MD5/reset/91 1291s ok 280 /checksum/MD5/reset/92 1291s ok 281 /checksum/MD5/reset/93 1291s ok 282 /checksum/MD5/reset/94 1291s ok 283 /checksum/MD5/reset/95 1291s ok 284 /checksum/MD5/reset/96 1291s ok 285 /checksum/MD5/reset/97 1291s ok 286 /checksum/MD5/reset/98 1291s ok 287 /checksum/MD5/reset/99 1291s ok 288 /checksum/MD5/reset/100 1291s ok 289 /checksum/MD5/reset/101 1291s ok 290 /checksum/MD5/reset/102 1291s ok 291 /checksum/MD5/reset/103 1291s ok 292 /checksum/MD5/reset/104 1291s ok 293 /checksum/MD5/reset/105 1291s ok 294 /checksum/MD5/reset/106 1291s ok 295 /checksum/MD5/reset/107 1291s ok 296 /checksum/MD5/reset/108 1291s ok 297 /checksum/MD5/reset/109 1291s ok 298 /checksum/MD5/reset/110 1291s ok 299 /checksum/MD5/reset/111 1291s ok 300 /checksum/MD5/reset/112 1291s ok 301 /checksum/MD5/reset/113 1291s ok 302 /checksum/MD5/reset/114 1291s ok 303 /checksum/MD5/reset/115 1291s ok 304 /checksum/MD5/reset/116 1291s ok 305 /checksum/MD5/reset/117 1291s ok 306 /checksum/MD5/reset/118 1291s ok 307 /checksum/MD5/reset/119 1291s ok 308 /checksum/MD5/reset/120 1291s ok 309 /checksum/MD5/reset/121 1291s ok 310 /checksum/MD5/reset/122 1291s ok 311 /checksum/MD5/reset/123 1291s ok 312 /checksum/MD5/reset/124 1291s ok 313 /checksum/MD5/reset/125 1291s ok 314 /checksum/MD5/reset/126 1291s ok 315 /checksum/MD5/reset/127 1291s ok 316 /checksum/MD5/reset/128 1291s ok 317 /checksum/MD5/reset/129 1291s ok 318 /checksum/MD5/reset/130 1291s ok 319 /checksum/MD5/reset/131 1291s ok 320 /checksum/MD5/reset/132 1291s ok 321 /checksum/MD5/reset/133 1291s ok 322 /checksum/MD5/reset/134 1291s ok 323 /checksum/MD5/reset/135 1291s ok 324 /checksum/MD5/reset/136 1291s ok 325 /checksum/MD5/reset/137 1291s ok 326 /checksum/MD5/reset/138 1291s ok 327 /checksum/MD5/reset/139 1291s ok 328 /checksum/MD5/reset/140 1291s ok 329 /checksum/MD5/reset/141 1291s ok 330 /checksum/MD5/reset/142 1291s ok 331 /checksum/MD5/reset/143 1291s ok 332 /checksum/MD5/reset/144 1291s ok 333 /checksum/MD5/reset/145 1291s ok 334 /checksum/MD5/reset/146 1291s ok 335 /checksum/MD5/reset/147 1291s ok 336 /checksum/MD5/reset/148 1291s ok 337 /checksum/MD5/reset/149 1291s ok 338 /checksum/MD5/reset/150 1291s ok 339 /checksum/MD5/reset/151 1291s ok 340 /checksum/MD5/reset/152 1291s ok 341 /checksum/MD5/reset/153 1291s ok 342 /checksum/MD5/reset/154 1291s ok 343 /checksum/MD5/reset/155 1291s ok 344 /checksum/MD5/reset/156 1291s ok 345 /checksum/MD5/reset/157 1291s ok 346 /checksum/MD5/reset/158 1291s ok 347 /checksum/MD5/reset/159 1291s ok 348 /checksum/MD5/reset/160 1291s ok 349 /checksum/MD5/reset/161 1291s ok 350 /checksum/MD5/reset/162 1291s ok 351 /checksum/MD5/reset/163 1291s ok 352 /checksum/MD5/reset/164 1291s ok 353 /checksum/MD5/reset/165 1291s ok 354 /checksum/MD5/reset/166 1291s ok 355 /checksum/MD5/reset/167 1291s ok 356 /checksum/MD5/reset/168 1291s ok 357 /checksum/MD5/reset/169 1291s ok 358 /checksum/MD5/reset/170 1291s ok 359 /checksum/MD5/reset/171 1291s ok 360 /checksum/MD5/reset/172 1291s ok 361 /checksum/MD5/reset/173 1291s ok 362 /checksum/MD5/reset/174 1291s ok 363 /checksum/MD5/reset/175 1291s ok 364 /checksum/MD5/reset/176 1291s ok 365 /checksum/MD5/reset/177 1291s ok 366 /checksum/MD5/reset/178 1291s ok 367 /checksum/MD5/reset/179 1291s ok 368 /checksum/MD5/reset/180 1291s ok 369 /checksum/MD5/reset/181 1291s ok 370 /checksum/MD5/reset/182 1291s ok 371 /checksum/MD5/reset/183 1291s # End of reset tests 1291s # End of MD5 tests 1291s # Start of SHA1 tests 1291s ok 372 /checksum/SHA1/0 1291s ok 373 /checksum/SHA1/1 1291s ok 374 /checksum/SHA1/2 1291s ok 375 /checksum/SHA1/3 1291s ok 376 /checksum/SHA1/4 1291s ok 377 /checksum/SHA1/5 1291s ok 378 /checksum/SHA1/6 1291s ok 379 /checksum/SHA1/7 1291s ok 380 /checksum/SHA1/8 1291s ok 381 /checksum/SHA1/9 1291s ok 382 /checksum/SHA1/10 1291s ok 383 /checksum/SHA1/11 1291s ok 384 /checksum/SHA1/12 1291s ok 385 /checksum/SHA1/13 1291s ok 386 /checksum/SHA1/14 1291s ok 387 /checksum/SHA1/15 1291s ok 388 /checksum/SHA1/16 1291s ok 389 /checksum/SHA1/17 1291s ok 390 /checksum/SHA1/18 1291s ok 391 /checksum/SHA1/19 1291s ok 392 /checksum/SHA1/20 1291s ok 393 /checksum/SHA1/21 1291s ok 394 /checksum/SHA1/22 1291s ok 395 /checksum/SHA1/23 1291s ok 396 /checksum/SHA1/24 1291s ok 397 /checksum/SHA1/25 1291s ok 398 /checksum/SHA1/26 1291s ok 399 /checksum/SHA1/27 1291s ok 400 /checksum/SHA1/28 1291s ok 401 /checksum/SHA1/29 1291s ok 402 /checksum/SHA1/30 1291s ok 403 /checksum/SHA1/31 1291s ok 404 /checksum/SHA1/32 1291s ok 405 /checksum/SHA1/33 1291s ok 406 /checksum/SHA1/34 1291s ok 407 /checksum/SHA1/35 1291s ok 408 /checksum/SHA1/36 1291s ok 409 /checksum/SHA1/37 1291s ok 410 /checksum/SHA1/38 1291s ok 411 /checksum/SHA1/39 1291s ok 412 /checksum/SHA1/40 1291s ok 413 /checksum/SHA1/41 1291s ok 414 /checksum/SHA1/42 1291s ok 415 /checksum/SHA1/43 1291s ok 416 /checksum/SHA1/44 1291s ok 417 /checksum/SHA1/45 1291s ok 418 /checksum/SHA1/46 1291s ok 419 /checksum/SHA1/47 1291s ok 420 /checksum/SHA1/48 1291s ok 421 /checksum/SHA1/49 1291s ok 422 /checksum/SHA1/50 1291s ok 423 /checksum/SHA1/51 1291s ok 424 /checksum/SHA1/52 1291s ok 425 /checksum/SHA1/53 1291s ok 426 /checksum/SHA1/54 1291s ok 427 /checksum/SHA1/55 1291s ok 428 /checksum/SHA1/56 1291s ok 429 /checksum/SHA1/57 1291s ok 430 /checksum/SHA1/58 1291s ok 431 /checksum/SHA1/59 1291s ok 432 /checksum/SHA1/60 1291s ok 433 /checksum/SHA1/61 1291s ok 434 /checksum/SHA1/62 1291s ok 435 /checksum/SHA1/63 1291s ok 436 /checksum/SHA1/64 1291s ok 437 /checksum/SHA1/65 1291s ok 438 /checksum/SHA1/66 1291s ok 439 /checksum/SHA1/67 1291s ok 440 /checksum/SHA1/68 1291s ok 441 /checksum/SHA1/69 1291s ok 442 /checksum/SHA1/70 1291s ok 443 /checksum/SHA1/71 1291s ok 444 /checksum/SHA1/72 1291s ok 445 /checksum/SHA1/73 1291s ok 446 /checksum/SHA1/74 1291s ok 447 /checksum/SHA1/75 1291s ok 448 /checksum/SHA1/76 1291s ok 449 /checksum/SHA1/77 1291s ok 450 /checksum/SHA1/78 1291s ok 451 /checksum/SHA1/79 1291s ok 452 /checksum/SHA1/80 1291s ok 453 /checksum/SHA1/81 1291s ok 454 /checksum/SHA1/82 1291s ok 455 /checksum/SHA1/83 1291s ok 456 /checksum/SHA1/84 1291s ok 457 /checksum/SHA1/85 1291s ok 458 /checksum/SHA1/86 1291s ok 459 /checksum/SHA1/87 1291s ok 460 /checksum/SHA1/88 1291s ok 461 /checksum/SHA1/89 1291s ok 462 /checksum/SHA1/90 1291s ok 463 /checksum/SHA1/91 1291s ok 464 /checksum/SHA1/92 1291s ok 465 /checksum/SHA1/93 1291s ok 466 /checksum/SHA1/94 1291s ok 467 /checksum/SHA1/95 1291s ok 468 /checksum/SHA1/96 1291s ok 469 /checksum/SHA1/97 1291s ok 470 /checksum/SHA1/98 1291s ok 471 /checksum/SHA1/99 1291s ok 472 /checksum/SHA1/100 1291s ok 473 /checksum/SHA1/101 1291s ok 474 /checksum/SHA1/102 1291s ok 475 /checksum/SHA1/103 1291s ok 476 /checksum/SHA1/104 1291s ok 477 /checksum/SHA1/105 1291s ok 478 /checksum/SHA1/106 1291s ok 479 /checksum/SHA1/107 1291s ok 480 /checksum/SHA1/108 1291s ok 481 /checksum/SHA1/109 1291s ok 482 /checksum/SHA1/110 1291s ok 483 /checksum/SHA1/111 1291s ok 484 /checksum/SHA1/112 1291s ok 485 /checksum/SHA1/113 1291s ok 486 /checksum/SHA1/114 1291s ok 487 /checksum/SHA1/115 1291s ok 488 /checksum/SHA1/116 1291s ok 489 /checksum/SHA1/117 1291s ok 490 /checksum/SHA1/118 1291s ok 491 /checksum/SHA1/119 1291s ok 492 /checksum/SHA1/120 1291s ok 493 /checksum/SHA1/121 1291s ok 494 /checksum/SHA1/122 1291s ok 495 /checksum/SHA1/123 1291s ok 496 /checksum/SHA1/124 1291s ok 497 /checksum/SHA1/125 1291s ok 498 /checksum/SHA1/126 1291s ok 499 /checksum/SHA1/127 1291s ok 500 /checksum/SHA1/128 1291s ok 501 /checksum/SHA1/129 1291s ok 502 /checksum/SHA1/130 1291s ok 503 /checksum/SHA1/131 1291s ok 504 /checksum/SHA1/132 1291s ok 505 /checksum/SHA1/133 1291s ok 506 /checksum/SHA1/134 1291s ok 507 /checksum/SHA1/135 1291s ok 508 /checksum/SHA1/136 1291s ok 509 /checksum/SHA1/137 1291s ok 510 /checksum/SHA1/138 1291s ok 511 /checksum/SHA1/139 1291s ok 512 /checksum/SHA1/140 1291s ok 513 /checksum/SHA1/141 1291s ok 514 /checksum/SHA1/142 1291s ok 515 /checksum/SHA1/143 1291s ok 516 /checksum/SHA1/144 1291s ok 517 /checksum/SHA1/145 1291s ok 518 /checksum/SHA1/146 1291s ok 519 /checksum/SHA1/147 1291s ok 520 /checksum/SHA1/148 1291s ok 521 /checksum/SHA1/149 1291s ok 522 /checksum/SHA1/150 1291s ok 523 /checksum/SHA1/151 1291s ok 524 /checksum/SHA1/152 1291s ok 525 /checksum/SHA1/153 1291s ok 526 /checksum/SHA1/154 1291s ok 527 /checksum/SHA1/155 1291s ok 528 /checksum/SHA1/156 1291s ok 529 /checksum/SHA1/157 1291s ok 530 /checksum/SHA1/158 1291s ok 531 /checksum/SHA1/159 1291s ok 532 /checksum/SHA1/160 1291s ok 533 /checksum/SHA1/161 1291s ok 534 /checksum/SHA1/162 1291s ok 535 /checksum/SHA1/163 1291s ok 536 /checksum/SHA1/164 1291s ok 537 /checksum/SHA1/165 1291s ok 538 /checksum/SHA1/166 1291s ok 539 /checksum/SHA1/167 1291s ok 540 /checksum/SHA1/168 1291s ok 541 /checksum/SHA1/169 1291s ok 542 /checksum/SHA1/170 1291s ok 543 /checksum/SHA1/171 1291s ok 544 /checksum/SHA1/172 1291s ok 545 /checksum/SHA1/173 1291s ok 546 /checksum/SHA1/174 1291s ok 547 /checksum/SHA1/175 1291s ok 548 /checksum/SHA1/176 1291s ok 549 /checksum/SHA1/177 1291s ok 550 /checksum/SHA1/178 1291s ok 551 /checksum/SHA1/179 1291s ok 552 /checksum/SHA1/180 1291s ok 553 /checksum/SHA1/181 1291s ok 554 /checksum/SHA1/182 1291s ok 555 /checksum/SHA1/183 1291s ok 556 /checksum/SHA1/string 1291s ok 557 /checksum/SHA1/bytes 1291s # Start of reset tests 1291s ok 558 /checksum/SHA1/reset/0 1291s ok 559 /checksum/SHA1/reset/1 1291s ok 560 /checksum/SHA1/reset/2 1291s ok 561 /checksum/SHA1/reset/3 1291s ok 562 /checksum/SHA1/reset/4 1291s ok 563 /checksum/SHA1/reset/5 1291s ok 564 /checksum/SHA1/reset/6 1291s ok 565 /checksum/SHA1/reset/7 1291s ok 566 /checksum/SHA1/reset/8 1291s ok 567 /checksum/SHA1/reset/9 1291s ok 568 /checksum/SHA1/reset/10 1291s ok 569 /checksum/SHA1/reset/11 1291s ok 570 /checksum/SHA1/reset/12 1291s ok 571 /checksum/SHA1/reset/13 1291s ok 572 /checksum/SHA1/reset/14 1291s ok 573 /checksum/SHA1/reset/15 1291s ok 574 /checksum/SHA1/reset/16 1291s ok 575 /checksum/SHA1/reset/17 1291s ok 576 /checksum/SHA1/reset/18 1291s ok 577 /checksum/SHA1/reset/19 1291s ok 578 /checksum/SHA1/reset/20 1291s ok 579 /checksum/SHA1/reset/21 1291s ok 580 /checksum/SHA1/reset/22 1291s ok 581 /checksum/SHA1/reset/23 1291s ok 582 /checksum/SHA1/reset/24 1291s ok 583 /checksum/SHA1/reset/25 1291s ok 584 /checksum/SHA1/reset/26 1291s ok 585 /checksum/SHA1/reset/27 1291s ok 586 /checksum/SHA1/reset/28 1291s ok 587 /checksum/SHA1/reset/29 1291s ok 588 /checksum/SHA1/reset/30 1291s ok 589 /checksum/SHA1/reset/31 1291s ok 590 /checksum/SHA1/reset/32 1291s ok 591 /checksum/SHA1/reset/33 1291s ok 592 /checksum/SHA1/reset/34 1291s ok 593 /checksum/SHA1/reset/35 1291s ok 594 /checksum/SHA1/reset/36 1291s ok 595 /checksum/SHA1/reset/37 1291s ok 596 /checksum/SHA1/reset/38 1291s ok 597 /checksum/SHA1/reset/39 1291s ok 598 /checksum/SHA1/reset/40 1291s ok 599 /checksum/SHA1/reset/41 1291s ok 600 /checksum/SHA1/reset/42 1291s ok 601 /checksum/SHA1/reset/43 1291s ok 602 /checksum/SHA1/reset/44 1291s ok 603 /checksum/SHA1/reset/45 1291s ok 604 /checksum/SHA1/reset/46 1291s ok 605 /checksum/SHA1/reset/47 1291s ok 606 /checksum/SHA1/reset/48 1291s ok 607 /checksum/SHA1/reset/49 1291s ok 608 /checksum/SHA1/reset/50 1291s ok 609 /checksum/SHA1/reset/51 1291s ok 610 /checksum/SHA1/reset/52 1291s ok 611 /checksum/SHA1/reset/53 1291s ok 612 /checksum/SHA1/reset/54 1291s ok 613 /checksum/SHA1/reset/55 1291s ok 614 /checksum/SHA1/reset/56 1291s ok 615 /checksum/SHA1/reset/57 1291s ok 616 /checksum/SHA1/reset/58 1291s ok 617 /checksum/SHA1/reset/59 1291s ok 618 /checksum/SHA1/reset/60 1291s ok 619 /checksum/SHA1/reset/61 1291s ok 620 /checksum/SHA1/reset/62 1291s ok 621 /checksum/SHA1/reset/63 1291s ok 622 /checksum/SHA1/reset/64 1291s ok 623 /checksum/SHA1/reset/65 1291s ok 624 /checksum/SHA1/reset/66 1291s ok 625 /checksum/SHA1/reset/67 1291s ok 626 /checksum/SHA1/reset/68 1291s ok 627 /checksum/SHA1/reset/69 1291s ok 628 /checksum/SHA1/reset/70 1291s ok 629 /checksum/SHA1/reset/71 1291s ok 630 /checksum/SHA1/reset/72 1291s ok 631 /checksum/SHA1/reset/73 1291s ok 632 /checksum/SHA1/reset/74 1291s ok 633 /checksum/SHA1/reset/75 1291s ok 634 /checksum/SHA1/reset/76 1291s ok 635 /checksum/SHA1/reset/77 1291s ok 636 /checksum/SHA1/reset/78 1291s ok 637 /checksum/SHA1/reset/79 1291s ok 638 /checksum/SHA1/reset/80 1291s ok 639 /checksum/SHA1/reset/81 1291s ok 640 /checksum/SHA1/reset/82 1291s ok 641 /checksum/SHA1/reset/83 1291s ok 642 /checksum/SHA1/reset/84 1291s ok 643 /checksum/SHA1/reset/85 1291s ok 644 /checksum/SHA1/reset/86 1291s ok 645 /checksum/SHA1/reset/87 1291s ok 646 /checksum/SHA1/reset/88 1291s ok 647 /checksum/SHA1/reset/89 1291s ok 648 /checksum/SHA1/reset/90 1291s ok 649 /checksum/SHA1/reset/91 1291s ok 650 /checksum/SHA1/reset/92 1291s ok 651 /checksum/SHA1/reset/93 1291s ok 652 /checksum/SHA1/reset/94 1291s ok 653 /checksum/SHA1/reset/95 1291s ok 654 /checksum/SHA1/reset/96 1291s ok 655 /checksum/SHA1/reset/97 1291s ok 656 /checksum/SHA1/reset/98 1291s ok 657 /checksum/SHA1/reset/99 1291s ok 658 /checksum/SHA1/reset/100 1291s ok 659 /checksum/SHA1/reset/101 1291s ok 660 /checksum/SHA1/reset/102 1291s ok 661 /checksum/SHA1/reset/103 1291s ok 662 /checksum/SHA1/reset/104 1291s ok 663 /checksum/SHA1/reset/105 1291s ok 664 /checksum/SHA1/reset/106 1291s ok 665 /checksum/SHA1/reset/107 1291s ok 666 /checksum/SHA1/reset/108 1291s ok 667 /checksum/SHA1/reset/109 1291s ok 668 /checksum/SHA1/reset/110 1291s ok 669 /checksum/SHA1/reset/111 1291s ok 670 /checksum/SHA1/reset/112 1291s ok 671 /checksum/SHA1/reset/113 1291s ok 672 /checksum/SHA1/reset/114 1291s ok 673 /checksum/SHA1/reset/115 1291s ok 674 /checksum/SHA1/reset/116 1291s ok 675 /checksum/SHA1/reset/117 1291s ok 676 /checksum/SHA1/reset/118 1291s ok 677 /checksum/SHA1/reset/119 1291s ok 678 /checksum/SHA1/reset/120 1291s ok 679 /checksum/SHA1/reset/121 1291s ok 680 /checksum/SHA1/reset/122 1291s ok 681 /checksum/SHA1/reset/123 1291s ok 682 /checksum/SHA1/reset/124 1291s ok 683 /checksum/SHA1/reset/125 1291s ok 684 /checksum/SHA1/reset/126 1291s ok 685 /checksum/SHA1/reset/127 1291s ok 686 /checksum/SHA1/reset/128 1291s ok 687 /checksum/SHA1/reset/129 1291s ok 688 /checksum/SHA1/reset/130 1291s ok 689 /checksum/SHA1/reset/131 1291s ok 690 /checksum/SHA1/reset/132 1291s ok 691 /checksum/SHA1/reset/133 1291s ok 692 /checksum/SHA1/reset/134 1291s ok 693 /checksum/SHA1/reset/135 1291s ok 694 /checksum/SHA1/reset/136 1291s ok 695 /checksum/SHA1/reset/137 1291s ok 696 /checksum/SHA1/reset/138 1291s ok 697 /checksum/SHA1/reset/139 1291s ok 698 /checksum/SHA1/reset/140 1291s ok 699 /checksum/SHA1/reset/141 1291s ok 700 /checksum/SHA1/reset/142 1291s ok 701 /checksum/SHA1/reset/143 1291s ok 702 /checksum/SHA1/reset/144 1291s ok 703 /checksum/SHA1/reset/145 1291s ok 704 /checksum/SHA1/reset/146 1291s ok 705 /checksum/SHA1/reset/147 1291s ok 706 /checksum/SHA1/reset/148 1291s ok 707 /checksum/SHA1/reset/149 1291s ok 708 /checksum/SHA1/reset/150 1291s ok 709 /checksum/SHA1/reset/151 1291s ok 710 /checksum/SHA1/reset/152 1291s ok 711 /checksum/SHA1/reset/153 1291s ok 712 /checksum/SHA1/reset/154 1291s ok 713 /checksum/SHA1/reset/155 1291s ok 714 /checksum/SHA1/reset/156 1291s ok 715 /checksum/SHA1/reset/157 1291s ok 716 /checksum/SHA1/reset/158 1291s ok 717 /checksum/SHA1/reset/159 1291s ok 718 /checksum/SHA1/reset/160 1291s ok 719 /checksum/SHA1/reset/161 1291s ok 720 /checksum/SHA1/reset/162 1291s ok 721 /checksum/SHA1/reset/163 1291s ok 722 /checksum/SHA1/reset/164 1291s ok 723 /checksum/SHA1/reset/165 1291s ok 724 /checksum/SHA1/reset/166 1291s ok 725 /checksum/SHA1/reset/167 1291s ok 726 /checksum/SHA1/reset/168 1291s ok 727 /checksum/SHA1/reset/169 1291s ok 728 /checksum/SHA1/reset/170 1291s ok 729 /checksum/SHA1/reset/171 1291s ok 730 /checksum/SHA1/reset/172 1291s ok 731 /checksum/SHA1/reset/173 1291s ok 732 /checksum/SHA1/reset/174 1291s ok 733 /checksum/SHA1/reset/175 1291s ok 734 /checksum/SHA1/reset/176 1291s ok 735 /checksum/SHA1/reset/177 1291s ok 736 /checksum/SHA1/reset/178 1291s ok 737 /checksum/SHA1/reset/179 1291s ok 738 /checksum/SHA1/reset/180 1291s ok 739 /checksum/SHA1/reset/181 1291s ok 740 /checksum/SHA1/reset/182 1291s ok 741 /checksum/SHA1/reset/183 1291s # End of reset tests 1291s # End of SHA1 tests 1291s # Start of SHA256 tests 1291s ok 742 /checksum/SHA256/0 1291s ok 743 /checksum/SHA256/1 1291s ok 744 /checksum/SHA256/2 1291s ok 745 /checksum/SHA256/3 1291s ok 746 /checksum/SHA256/4 1291s ok 747 /checksum/SHA256/5 1291s ok 748 /checksum/SHA256/6 1291s ok 749 /checksum/SHA256/7 1291s ok 750 /checksum/SHA256/8 1291s ok 751 /checksum/SHA256/9 1291s ok 752 /checksum/SHA256/10 1291s ok 753 /checksum/SHA256/11 1291s ok 754 /checksum/SHA256/12 1291s ok 755 /checksum/SHA256/13 1291s ok 756 /checksum/SHA256/14 1291s ok 757 /checksum/SHA256/15 1291s ok 758 /checksum/SHA256/16 1291s ok 759 /checksum/SHA256/17 1291s ok 760 /checksum/SHA256/18 1291s ok 761 /checksum/SHA256/19 1291s ok 762 /checksum/SHA256/20 1291s ok 763 /checksum/SHA256/21 1291s ok 764 /checksum/SHA256/22 1291s ok 765 /checksum/SHA256/23 1291s ok 766 /checksum/SHA256/24 1291s ok 767 /checksum/SHA256/25 1291s ok 768 /checksum/SHA256/26 1291s ok 769 /checksum/SHA256/27 1291s ok 770 /checksum/SHA256/28 1291s ok 771 /checksum/SHA256/29 1291s ok 772 /checksum/SHA256/30 1291s ok 773 /checksum/SHA256/31 1291s ok 774 /checksum/SHA256/32 1291s ok 775 /checksum/SHA256/33 1291s ok 776 /checksum/SHA256/34 1291s ok 777 /checksum/SHA256/35 1291s ok 778 /checksum/SHA256/36 1291s ok 779 /checksum/SHA256/37 1291s ok 780 /checksum/SHA256/38 1291s ok 781 /checksum/SHA256/39 1291s ok 782 /checksum/SHA256/40 1291s ok 783 /checksum/SHA256/41 1291s ok 784 /checksum/SHA256/42 1291s ok 785 /checksum/SHA256/43 1291s ok 786 /checksum/SHA256/44 1291s ok 787 /checksum/SHA256/45 1291s ok 788 /checksum/SHA256/46 1291s ok 789 /checksum/SHA256/47 1291s ok 790 /checksum/SHA256/48 1291s ok 791 /checksum/SHA256/49 1291s ok 792 /checksum/SHA256/50 1291s ok 793 /checksum/SHA256/51 1291s ok 794 /checksum/SHA256/52 1291s ok 795 /checksum/SHA256/53 1291s ok 796 /checksum/SHA256/54 1291s ok 797 /checksum/SHA256/55 1291s ok 798 /checksum/SHA256/56 1291s ok 799 /checksum/SHA256/57 1291s ok 800 /checksum/SHA256/58 1291s ok 801 /checksum/SHA256/59 1291s ok 802 /checksum/SHA256/60 1291s ok 803 /checksum/SHA256/61 1291s ok 804 /checksum/SHA256/62 1291s ok 805 /checksum/SHA256/63 1291s ok 806 /checksum/SHA256/64 1291s ok 807 /checksum/SHA256/65 1291s ok 808 /checksum/SHA256/66 1291s ok 809 /checksum/SHA256/67 1291s ok 810 /checksum/SHA256/68 1291s ok 811 /checksum/SHA256/69 1291s ok 812 /checksum/SHA256/70 1291s ok 813 /checksum/SHA256/71 1291s ok 814 /checksum/SHA256/72 1291s ok 815 /checksum/SHA256/73 1291s ok 816 /checksum/SHA256/74 1291s ok 817 /checksum/SHA256/75 1291s ok 818 /checksum/SHA256/76 1291s ok 819 /checksum/SHA256/77 1291s ok 820 /checksum/SHA256/78 1291s ok 821 /checksum/SHA256/79 1291s ok 822 /checksum/SHA256/80 1291s ok 823 /checksum/SHA256/81 1291s ok 824 /checksum/SHA256/82 1291s ok 825 /checksum/SHA256/83 1291s ok 826 /checksum/SHA256/84 1291s ok 827 /checksum/SHA256/85 1291s ok 828 /checksum/SHA256/86 1291s ok 829 /checksum/SHA256/87 1291s ok 830 /checksum/SHA256/88 1291s ok 831 /checksum/SHA256/89 1291s ok 832 /checksum/SHA256/90 1291s ok 833 /checksum/SHA256/91 1291s ok 834 /checksum/SHA256/92 1291s ok 835 /checksum/SHA256/93 1291s ok 836 /checksum/SHA256/94 1291s ok 837 /checksum/SHA256/95 1291s ok 838 /checksum/SHA256/96 1291s ok 839 /checksum/SHA256/97 1291s ok 840 /checksum/SHA256/98 1291s ok 841 /checksum/SHA256/99 1291s ok 842 /checksum/SHA256/100 1291s ok 843 /checksum/SHA256/101 1291s ok 844 /checksum/SHA256/102 1291s ok 845 /checksum/SHA256/103 1291s ok 846 /checksum/SHA256/104 1291s ok 847 /checksum/SHA256/105 1291s ok 848 /checksum/SHA256/106 1291s ok 849 /checksum/SHA256/107 1291s ok 850 /checksum/SHA256/108 1291s ok 851 /checksum/SHA256/109 1291s ok 852 /checksum/SHA256/110 1291s ok 853 /checksum/SHA256/111 1291s ok 854 /checksum/SHA256/112 1291s ok 855 /checksum/SHA256/113 1291s ok 856 /checksum/SHA256/114 1291s ok 857 /checksum/SHA256/115 1291s ok 858 /checksum/SHA256/116 1291s ok 859 /checksum/SHA256/117 1291s ok 860 /checksum/SHA256/118 1291s ok 861 /checksum/SHA256/119 1291s ok 862 /checksum/SHA256/120 1291s ok 863 /checksum/SHA256/121 1291s ok 864 /checksum/SHA256/122 1291s ok 865 /checksum/SHA256/123 1291s ok 866 /checksum/SHA256/124 1291s ok 867 /checksum/SHA256/125 1291s ok 868 /checksum/SHA256/126 1291s ok 869 /checksum/SHA256/127 1291s ok 870 /checksum/SHA256/128 1291s ok 871 /checksum/SHA256/129 1291s ok 872 /checksum/SHA256/130 1291s ok 873 /checksum/SHA256/131 1291s ok 874 /checksum/SHA256/132 1291s ok 875 /checksum/SHA256/133 1291s ok 876 /checksum/SHA256/134 1291s ok 877 /checksum/SHA256/135 1291s ok 878 /checksum/SHA256/136 1291s ok 879 /checksum/SHA256/137 1291s ok 880 /checksum/SHA256/138 1291s ok 881 /checksum/SHA256/139 1291s ok 882 /checksum/SHA256/140 1291s ok 883 /checksum/SHA256/141 1291s ok 884 /checksum/SHA256/142 1291s ok 885 /checksum/SHA256/143 1291s ok 886 /checksum/SHA256/144 1291s ok 887 /checksum/SHA256/145 1291s ok 888 /checksum/SHA256/146 1291s ok 889 /checksum/SHA256/147 1291s ok 890 /checksum/SHA256/148 1291s ok 891 /checksum/SHA256/149 1291s ok 892 /checksum/SHA256/150 1291s ok 893 /checksum/SHA256/151 1291s ok 894 /checksum/SHA256/152 1291s ok 895 /checksum/SHA256/153 1291s ok 896 /checksum/SHA256/154 1291s ok 897 /checksum/SHA256/155 1291s ok 898 /checksum/SHA256/156 1291s ok 899 /checksum/SHA256/157 1291s ok 900 /checksum/SHA256/158 1291s ok 901 /checksum/SHA256/159 1291s ok 902 /checksum/SHA256/160 1291s ok 903 /checksum/SHA256/161 1291s ok 904 /checksum/SHA256/162 1291s ok 905 /checksum/SHA256/163 1291s ok 906 /checksum/SHA256/164 1291s ok 907 /checksum/SHA256/165 1291s ok 908 /checksum/SHA256/166 1291s ok 909 /checksum/SHA256/167 1291s ok 910 /checksum/SHA256/168 1291s ok 911 /checksum/SHA256/169 1291s ok 912 /checksum/SHA256/170 1291s ok 913 /checksum/SHA256/171 1291s ok 914 /checksum/SHA256/172 1291s ok 915 /checksum/SHA256/173 1291s ok 916 /checksum/SHA256/174 1291s ok 917 /checksum/SHA256/175 1291s ok 918 /checksum/SHA256/176 1291s ok 919 /checksum/SHA256/177 1291s ok 920 /checksum/SHA256/178 1291s ok 921 /checksum/SHA256/179 1291s ok 922 /checksum/SHA256/180 1291s ok 923 /checksum/SHA256/181 1291s ok 924 /checksum/SHA256/182 1291s ok 925 /checksum/SHA256/183 1291s ok 926 /checksum/SHA256/string 1291s ok 927 /checksum/SHA256/bytes 1291s # Start of reset tests 1291s ok 928 /checksum/SHA256/reset/0 1291s ok 929 /checksum/SHA256/reset/1 1291s ok 930 /checksum/SHA256/reset/2 1291s ok 931 /checksum/SHA256/reset/3 1291s ok 932 /checksum/SHA256/reset/4 1291s ok 933 /checksum/SHA256/reset/5 1291s ok 934 /checksum/SHA256/reset/6 1291s ok 935 /checksum/SHA256/reset/7 1291s ok 936 /checksum/SHA256/reset/8 1291s ok 937 /checksum/SHA256/reset/9 1291s ok 938 /checksum/SHA256/reset/10 1291s ok 939 /checksum/SHA256/reset/11 1291s ok 940 /checksum/SHA256/reset/12 1291s ok 941 /checksum/SHA256/reset/13 1291s ok 942 /checksum/SHA256/reset/14 1291s ok 943 /checksum/SHA256/reset/15 1291s ok 944 /checksum/SHA256/reset/16 1291s ok 945 /checksum/SHA256/reset/17 1291s ok 946 /checksum/SHA256/reset/18 1291s ok 947 /checksum/SHA256/reset/19 1291s ok 948 /checksum/SHA256/reset/20 1291s ok 949 /checksum/SHA256/reset/21 1291s ok 950 /checksum/SHA256/reset/22 1291s ok 951 /checksum/SHA256/reset/23 1291s ok 952 /checksum/SHA256/reset/24 1291s ok 953 /checksum/SHA256/reset/25 1291s ok 954 /checksum/SHA256/reset/26 1291s ok 955 /checksum/SHA256/reset/27 1291s ok 956 /checksum/SHA256/reset/28 1291s ok 957 /checksum/SHA256/reset/29 1291s ok 958 /checksum/SHA256/reset/30 1291s ok 959 /checksum/SHA256/reset/31 1291s ok 960 /checksum/SHA256/reset/32 1291s ok 961 /checksum/SHA256/reset/33 1291s ok 962 /checksum/SHA256/reset/34 1291s ok 963 /checksum/SHA256/reset/35 1291s ok 964 /checksum/SHA256/reset/36 1291s ok 965 /checksum/SHA256/reset/37 1291s ok 966 /checksum/SHA256/reset/38 1291s ok 967 /checksum/SHA256/reset/39 1291s ok 968 /checksum/SHA256/reset/40 1291s ok 969 /checksum/SHA256/reset/41 1291s ok 970 /checksum/SHA256/reset/42 1291s ok 971 /checksum/SHA256/reset/43 1291s ok 972 /checksum/SHA256/reset/44 1291s ok 973 /checksum/SHA256/reset/45 1291s ok 974 /checksum/SHA256/reset/46 1291s ok 975 /checksum/SHA256/reset/47 1291s ok 976 /checksum/SHA256/reset/48 1291s ok 977 /checksum/SHA256/reset/49 1291s ok 978 /checksum/SHA256/reset/50 1291s ok 979 /checksum/SHA256/reset/51 1291s ok 980 /checksum/SHA256/reset/52 1291s ok 981 /checksum/SHA256/reset/53 1291s ok 982 /checksum/SHA256/reset/54 1291s ok 983 /checksum/SHA256/reset/55 1291s ok 984 /checksum/SHA256/reset/56 1291s ok 985 /checksum/SHA256/reset/57 1291s ok 986 /checksum/SHA256/reset/58 1291s ok 987 /checksum/SHA256/reset/59 1291s ok 988 /checksum/SHA256/reset/60 1291s ok 989 /checksum/SHA256/reset/61 1291s ok 990 /checksum/SHA256/reset/62 1291s ok 991 /checksum/SHA256/reset/63 1291s ok 992 /checksum/SHA256/reset/64 1291s ok 993 /checksum/SHA256/reset/65 1291s ok 994 /checksum/SHA256/reset/66 1291s ok 995 /checksum/SHA256/reset/67 1291s ok 996 /checksum/SHA256/reset/68 1291s ok 997 /checksum/SHA256/reset/69 1291s ok 998 /checksum/SHA256/reset/70 1291s ok 999 /checksum/SHA256/reset/71 1291s ok 1000 /checksum/SHA256/reset/72 1291s ok 1001 /checksum/SHA256/reset/73 1291s ok 1002 /checksum/SHA256/reset/74 1291s ok 1003 /checksum/SHA256/reset/75 1291s ok 1004 /checksum/SHA256/reset/76 1291s ok 1005 /checksum/SHA256/reset/77 1291s ok 1006 /checksum/SHA256/reset/78 1291s ok 1007 /checksum/SHA256/reset/79 1291s ok 1008 /checksum/SHA256/reset/80 1291s ok 1009 /checksum/SHA256/reset/81 1291s ok 1010 /checksum/SHA256/reset/82 1291s ok 1011 /checksum/SHA256/reset/83 1291s ok 1012 /checksum/SHA256/reset/84 1291s ok 1013 /checksum/SHA256/reset/85 1291s ok 1014 /checksum/SHA256/reset/86 1291s ok 1015 /checksum/SHA256/reset/87 1291s ok 1016 /checksum/SHA256/reset/88 1291s ok 1017 /checksum/SHA256/reset/89 1291s ok 1018 /checksum/SHA256/reset/90 1291s ok 1019 /checksum/SHA256/reset/91 1291s ok 1020 /checksum/SHA256/reset/92 1291s ok 1021 /checksum/SHA256/reset/93 1291s ok 1022 /checksum/SHA256/reset/94 1291s ok 1023 /checksum/SHA256/reset/95 1291s ok 1024 /checksum/SHA256/reset/96 1291s ok 1025 /checksum/SHA256/reset/97 1291s ok 1026 /checksum/SHA256/reset/98 1291s ok 1027 /checksum/SHA256/reset/99 1291s ok 1028 /checksum/SHA256/reset/100 1291s ok 1029 /checksum/SHA256/reset/101 1291s ok 1030 /checksum/SHA256/reset/102 1291s ok 1031 /checksum/SHA256/reset/103 1291s ok 1032 /checksum/SHA256/reset/104 1291s ok 1033 /checksum/SHA256/reset/105 1291s ok 1034 /checksum/SHA256/reset/106 1291s ok 1035 /checksum/SHA256/reset/107 1291s ok 1036 /checksum/SHA256/reset/108 1291s ok 1037 /checksum/SHA256/reset/109 1291s ok 1038 /checksum/SHA256/reset/110 1291s ok 1039 /checksum/SHA256/reset/111 1291s ok 1040 /checksum/SHA256/reset/112 1291s ok 1041 /checksum/SHA256/reset/113 1291s ok 1042 /checksum/SHA256/reset/114 1291s ok 1043 /checksum/SHA256/reset/115 1291s ok 1044 /checksum/SHA256/reset/116 1291s ok 1045 /checksum/SHA256/reset/117 1291s ok 1046 /checksum/SHA256/reset/118 1291s ok 1047 /checksum/SHA256/reset/119 1291s ok 1048 /checksum/SHA256/reset/120 1291s ok 1049 /checksum/SHA256/reset/121 1291s ok 1050 /checksum/SHA256/reset/122 1291s ok 1051 /checksum/SHA256/reset/123 1291s ok 1052 /checksum/SHA256/reset/124 1291s ok 1053 /checksum/SHA256/reset/125 1291s ok 1054 /checksum/SHA256/reset/126 1291s ok 1055 /checksum/SHA256/reset/127 1291s ok 1056 /checksum/SHA256/reset/128 1291s ok 1057 /checksum/SHA256/reset/129 1291s ok 1058 /checksum/SHA256/reset/130 1291s ok 1059 /checksum/SHA256/reset/131 1291s ok 1060 /checksum/SHA256/reset/132 1291s ok 1061 /checksum/SHA256/reset/133 1291s ok 1062 /checksum/SHA256/reset/134 1291s ok 1063 /checksum/SHA256/reset/135 1291s ok 1064 /checksum/SHA256/reset/136 1291s ok 1065 /checksum/SHA256/reset/137 1291s ok 1066 /checksum/SHA256/reset/138 1291s ok 1067 /checksum/SHA256/reset/139 1291s ok 1068 /checksum/SHA256/reset/140 1291s ok 1069 /checksum/SHA256/reset/141 1291s ok 1070 /checksum/SHA256/reset/142 1291s ok 1071 /checksum/SHA256/reset/143 1291s ok 1072 /checksum/SHA256/reset/144 1291s ok 1073 /checksum/SHA256/reset/145 1291s ok 1074 /checksum/SHA256/reset/146 1291s ok 1075 /checksum/SHA256/reset/147 1291s ok 1076 /checksum/SHA256/reset/148 1291s ok 1077 /checksum/SHA256/reset/149 1291s ok 1078 /checksum/SHA256/reset/150 1291s ok 1079 /checksum/SHA256/reset/151 1291s ok 1080 /checksum/SHA256/reset/152 1291s ok 1081 /checksum/SHA256/reset/153 1291s ok 1082 /checksum/SHA256/reset/154 1291s ok 1083 /checksum/SHA256/reset/155 1291s ok 1084 /checksum/SHA256/reset/156 1291s ok 1085 /checksum/SHA256/reset/157 1291s ok 1086 /checksum/SHA256/reset/158 1291s ok 1087 /checksum/SHA256/reset/159 1291s ok 1088 /checksum/SHA256/reset/160 1291s ok 1089 /checksum/SHA256/reset/161 1291s ok 1090 /checksum/SHA256/reset/162 1291s ok 1091 /checksum/SHA256/reset/163 1291s ok 1092 /checksum/SHA256/reset/164 1291s ok 1093 /checksum/SHA256/reset/165 1291s ok 1094 /checksum/SHA256/reset/166 1291s ok 1095 /checksum/SHA256/reset/167 1291s ok 1096 /checksum/SHA256/reset/168 1291s ok 1097 /checksum/SHA256/reset/169 1291s ok 1098 /checksum/SHA256/reset/170 1291s ok 1099 /checksum/SHA256/reset/171 1291s ok 1100 /checksum/SHA256/reset/172 1291s ok 1101 /checksum/SHA256/reset/173 1291s ok 1102 /checksum/SHA256/reset/174 1291s ok 1103 /checksum/SHA256/reset/175 1291s ok 1104 /checksum/SHA256/reset/176 1291s ok 1105 /checksum/SHA256/reset/177 1291s ok 1106 /checksum/SHA256/reset/178 1291s ok 1107 /checksum/SHA256/reset/179 1291s ok 1108 /checksum/SHA256/reset/180 1291s ok 1109 /checksum/SHA256/reset/181 1291s ok 1110 /checksum/SHA256/reset/182 1291s ok 1111 /checksum/SHA256/reset/183 1291s # End of reset tests 1291s # End of SHA256 tests 1291s # Start of SHA384 tests 1291s ok 1112 /checksum/SHA384/0 1291s ok 1113 /checksum/SHA384/1 1291s ok 1114 /checksum/SHA384/2 1291s ok 1115 /checksum/SHA384/3 1291s ok 1116 /checksum/SHA384/4 1291s ok 1117 /checksum/SHA384/5 1291s ok 1118 /checksum/SHA384/6 1291s ok 1119 /checksum/SHA384/7 1291s ok 1120 /checksum/SHA384/8 1291s ok 1121 /checksum/SHA384/9 1291s ok 1122 /checksum/SHA384/10 1291s ok 1123 /checksum/SHA384/11 1291s ok 1124 /checksum/SHA384/12 1291s ok 1125 /checksum/SHA384/13 1291s ok 1126 /checksum/SHA384/14 1291s ok 1127 /checksum/SHA384/15 1291s ok 1128 /checksum/SHA384/16 1291s ok 1129 /checksum/SHA384/17 1291s ok 1130 /checksum/SHA384/18 1291s ok 1131 /checksum/SHA384/19 1291s ok 1132 /checksum/SHA384/20 1291s ok 1133 /checksum/SHA384/21 1291s ok 1134 /checksum/SHA384/22 1291s ok 1135 /checksum/SHA384/23 1291s ok 1136 /checksum/SHA384/24 1291s ok 1137 /checksum/SHA384/25 1291s ok 1138 /checksum/SHA384/26 1291s ok 1139 /checksum/SHA384/27 1291s ok 1140 /checksum/SHA384/28 1291s ok 1141 /checksum/SHA384/29 1291s ok 1142 /checksum/SHA384/30 1291s ok 1143 /checksum/SHA384/31 1291s ok 1144 /checksum/SHA384/32 1291s ok 1145 /checksum/SHA384/33 1291s ok 1146 /checksum/SHA384/34 1291s ok 1147 /checksum/SHA384/35 1291s ok 1148 /checksum/SHA384/36 1291s ok 1149 /checksum/SHA384/37 1291s ok 1150 /checksum/SHA384/38 1291s ok 1151 /checksum/SHA384/39 1291s ok 1152 /checksum/SHA384/40 1291s ok 1153 /checksum/SHA384/41 1291s ok 1154 /checksum/SHA384/42 1291s ok 1155 /checksum/SHA384/43 1291s ok 1156 /checksum/SHA384/44 1291s ok 1157 /checksum/SHA384/45 1291s ok 1158 /checksum/SHA384/46 1291s ok 1159 /checksum/SHA384/47 1291s ok 1160 /checksum/SHA384/48 1291s ok 1161 /checksum/SHA384/49 1291s ok 1162 /checksum/SHA384/50 1291s ok 1163 /checksum/SHA384/51 1291s ok 1164 /checksum/SHA384/52 1291s ok 1165 /checksum/SHA384/53 1291s ok 1166 /checksum/SHA384/54 1291s ok 1167 /checksum/SHA384/55 1291s ok 1168 /checksum/SHA384/56 1291s ok 1169 /checksum/SHA384/57 1291s ok 1170 /checksum/SHA384/58 1291s ok 1171 /checksum/SHA384/59 1291s ok 1172 /checksum/SHA384/60 1291s ok 1173 /checksum/SHA384/61 1291s ok 1174 /checksum/SHA384/62 1291s ok 1175 /checksum/SHA384/63 1291s ok 1176 /checksum/SHA384/64 1291s ok 1177 /checksum/SHA384/65 1291s ok 1178 /checksum/SHA384/66 1291s ok 1179 /checksum/SHA384/67 1291s ok 1180 /checksum/SHA384/68 1291s ok 1181 /checksum/SHA384/69 1291s ok 1182 /checksum/SHA384/70 1291s ok 1183 /checksum/SHA384/71 1291s ok 1184 /checksum/SHA384/72 1291s ok 1185 /checksum/SHA384/73 1291s ok 1186 /checksum/SHA384/74 1291s ok 1187 /checksum/SHA384/75 1291s ok 1188 /checksum/SHA384/76 1291s ok 1189 /checksum/SHA384/77 1291s ok 1190 /checksum/SHA384/78 1291s ok 1191 /checksum/SHA384/79 1291s ok 1192 /checksum/SHA384/80 1291s ok 1193 /checksum/SHA384/81 1291s ok 1194 /checksum/SHA384/82 1291s ok 1195 /checksum/SHA384/83 1291s ok 1196 /checksum/SHA384/84 1291s ok 1197 /checksum/SHA384/85 1291s ok 1198 /checksum/SHA384/86 1291s ok 1199 /checksum/SHA384/87 1291s ok 1200 /checksum/SHA384/88 1291s ok 1201 /checksum/SHA384/89 1291s ok 1202 /checksum/SHA384/90 1291s ok 1203 /checksum/SHA384/91 1291s ok 1204 /checksum/SHA384/92 1291s ok 1205 /checksum/SHA384/93 1291s ok 1206 /checksum/SHA384/94 1291s ok 1207 /checksum/SHA384/95 1291s ok 1208 /checksum/SHA384/96 1291s ok 1209 /checksum/SHA384/97 1291s ok 1210 /checksum/SHA384/98 1291s ok 1211 /checksum/SHA384/99 1291s ok 1212 /checksum/SHA384/100 1291s ok 1213 /checksum/SHA384/101 1291s ok 1214 /checksum/SHA384/102 1291s ok 1215 /checksum/SHA384/103 1291s ok 1216 /checksum/SHA384/104 1291s ok 1217 /checksum/SHA384/105 1291s ok 1218 /checksum/SHA384/106 1291s ok 1219 /checksum/SHA384/107 1291s ok 1220 /checksum/SHA384/108 1291s ok 1221 /checksum/SHA384/109 1291s ok 1222 /checksum/SHA384/110 1291s ok 1223 /checksum/SHA384/111 1291s ok 1224 /checksum/SHA384/112 1291s ok 1225 /checksum/SHA384/113 1291s ok 1226 /checksum/SHA384/114 1291s ok 1227 /checksum/SHA384/115 1291s ok 1228 /checksum/SHA384/116 1291s ok 1229 /checksum/SHA384/117 1291s ok 1230 /checksum/SHA384/118 1291s ok 1231 /checksum/SHA384/119 1291s ok 1232 /checksum/SHA384/120 1291s ok 1233 /checksum/SHA384/121 1291s ok 1234 /checksum/SHA384/122 1291s ok 1235 /checksum/SHA384/123 1291s ok 1236 /checksum/SHA384/124 1291s ok 1237 /checksum/SHA384/125 1291s ok 1238 /checksum/SHA384/126 1291s ok 1239 /checksum/SHA384/127 1291s ok 1240 /checksum/SHA384/128 1291s ok 1241 /checksum/SHA384/129 1291s ok 1242 /checksum/SHA384/130 1291s ok 1243 /checksum/SHA384/131 1291s ok 1244 /checksum/SHA384/132 1291s ok 1245 /checksum/SHA384/133 1291s ok 1246 /checksum/SHA384/134 1291s ok 1247 /checksum/SHA384/135 1291s ok 1248 /checksum/SHA384/136 1291s ok 1249 /checksum/SHA384/137 1291s ok 1250 /checksum/SHA384/138 1291s ok 1251 /checksum/SHA384/139 1291s ok 1252 /checksum/SHA384/140 1291s ok 1253 /checksum/SHA384/141 1291s ok 1254 /checksum/SHA384/142 1291s ok 1255 /checksum/SHA384/143 1291s ok 1256 /checksum/SHA384/144 1291s ok 1257 /checksum/SHA384/145 1291s ok 1258 /checksum/SHA384/146 1291s ok 1259 /checksum/SHA384/147 1291s ok 1260 /checksum/SHA384/148 1291s ok 1261 /checksum/SHA384/149 1291s ok 1262 /checksum/SHA384/150 1291s ok 1263 /checksum/SHA384/151 1291s ok 1264 /checksum/SHA384/152 1291s ok 1265 /checksum/SHA384/153 1291s ok 1266 /checksum/SHA384/154 1291s ok 1267 /checksum/SHA384/155 1291s ok 1268 /checksum/SHA384/156 1291s ok 1269 /checksum/SHA384/157 1291s ok 1270 /checksum/SHA384/158 1291s ok 1271 /checksum/SHA384/159 1291s ok 1272 /checksum/SHA384/160 1291s ok 1273 /checksum/SHA384/161 1291s ok 1274 /checksum/SHA384/162 1291s ok 1275 /checksum/SHA384/163 1291s ok 1276 /checksum/SHA384/164 1291s ok 1277 /checksum/SHA384/165 1291s ok 1278 /checksum/SHA384/166 1291s ok 1279 /checksum/SHA384/167 1291s ok 1280 /checksum/SHA384/168 1291s ok 1281 /checksum/SHA384/169 1291s ok 1282 /checksum/SHA384/170 1291s ok 1283 /checksum/SHA384/171 1291s ok 1284 /checksum/SHA384/172 1291s ok 1285 /checksum/SHA384/173 1291s ok 1286 /checksum/SHA384/174 1291s ok 1287 /checksum/SHA384/175 1291s ok 1288 /checksum/SHA384/176 1291s ok 1289 /checksum/SHA384/177 1291s ok 1290 /checksum/SHA384/178 1291s ok 1291 /checksum/SHA384/179 1291s ok 1292 /checksum/SHA384/180 1291s ok 1293 /checksum/SHA384/181 1291s ok 1294 /checksum/SHA384/182 1291s ok 1295 /checksum/SHA384/183 1291s ok 1296 /checksum/SHA384/string 1291s ok 1297 /checksum/SHA384/bytes 1291s # Start of reset tests 1291s ok 1298 /checksum/SHA384/reset/0 1291s ok 1299 /checksum/SHA384/reset/1 1291s ok 1300 /checksum/SHA384/reset/2 1291s ok 1301 /checksum/SHA384/reset/3 1291s ok 1302 /checksum/SHA384/reset/4 1291s ok 1303 /checksum/SHA384/reset/5 1291s ok 1304 /checksum/SHA384/reset/6 1291s ok 1305 /checksum/SHA384/reset/7 1291s ok 1306 /checksum/SHA384/reset/8 1291s ok 1307 /checksum/SHA384/reset/9 1291s ok 1308 /checksum/SHA384/reset/10 1291s ok 1309 /checksum/SHA384/reset/11 1291s ok 1310 /checksum/SHA384/reset/12 1291s ok 1311 /checksum/SHA384/reset/13 1291s ok 1312 /checksum/SHA384/reset/14 1291s ok 1313 /checksum/SHA384/reset/15 1291s ok 1314 /checksum/SHA384/reset/16 1291s ok 1315 /checksum/SHA384/reset/17 1291s ok 1316 /checksum/SHA384/reset/18 1291s ok 1317 /checksum/SHA384/reset/19 1291s ok 1318 /checksum/SHA384/reset/20 1291s ok 1319 /checksum/SHA384/reset/21 1291s ok 1320 /checksum/SHA384/reset/22 1291s ok 1321 /checksum/SHA384/reset/23 1291s ok 1322 /checksum/SHA384/reset/24 1291s ok 1323 /checksum/SHA384/reset/25 1291s ok 1324 /checksum/SHA384/reset/26 1291s ok 1325 /checksum/SHA384/reset/27 1291s ok 1326 /checksum/SHA384/reset/28 1291s ok 1327 /checksum/SHA384/reset/29 1291s ok 1328 /checksum/SHA384/reset/30 1291s ok 1329 /checksum/SHA384/reset/31 1291s ok 1330 /checksum/SHA384/reset/32 1291s ok 1331 /checksum/SHA384/reset/33 1291s ok 1332 /checksum/SHA384/reset/34 1291s ok 1333 /checksum/SHA384/reset/35 1291s ok 1334 /checksum/SHA384/reset/36 1291s ok 1335 /checksum/SHA384/reset/37 1291s ok 1336 /checksum/SHA384/reset/38 1291s ok 1337 /checksum/SHA384/reset/39 1291s ok 1338 /checksum/SHA384/reset/40 1291s ok 1339 /checksum/SHA384/reset/41 1291s ok 1340 /checksum/SHA384/reset/42 1291s ok 1341 /checksum/SHA384/reset/43 1291s ok 1342 /checksum/SHA384/reset/44 1291s ok 1343 /checksum/SHA384/reset/45 1291s ok 1344 /checksum/SHA384/reset/46 1291s ok 1345 /checksum/SHA384/reset/47 1291s ok 1346 /checksum/SHA384/reset/48 1291s ok 1347 /checksum/SHA384/reset/49 1291s ok 1348 /checksum/SHA384/reset/50 1291s ok 1349 /checksum/SHA384/reset/51 1291s ok 1350 /checksum/SHA384/reset/52 1291s ok 1351 /checksum/SHA384/reset/53 1291s ok 1352 /checksum/SHA384/reset/54 1291s ok 1353 /checksum/SHA384/reset/55 1291s ok 1354 /checksum/SHA384/reset/56 1291s ok 1355 /checksum/SHA384/reset/57 1291s ok 1356 /checksum/SHA384/reset/58 1291s ok 1357 /checksum/SHA384/reset/59 1291s ok 1358 /checksum/SHA384/reset/60 1291s ok 1359 /checksum/SHA384/reset/61 1291s ok 1360 /checksum/SHA384/reset/62 1291s ok 1361 /checksum/SHA384/reset/63 1291s ok 1362 /checksum/SHA384/reset/64 1291s ok 1363 /checksum/SHA384/reset/65 1291s ok 1364 /checksum/SHA384/reset/66 1291s ok 1365 /checksum/SHA384/reset/67 1291s ok 1366 /checksum/SHA384/reset/68 1291s ok 1367 /checksum/SHA384/reset/69 1291s ok 1368 /checksum/SHA384/reset/70 1291s ok 1369 /checksum/SHA384/reset/71 1291s ok 1370 /checksum/SHA384/reset/72 1291s ok 1371 /checksum/SHA384/reset/73 1291s ok 1372 /checksum/SHA384/reset/74 1291s ok 1373 /checksum/SHA384/reset/75 1291s ok 1374 /checksum/SHA384/reset/76 1291s ok 1375 /checksum/SHA384/reset/77 1291s ok 1376 /checksum/SHA384/reset/78 1291s ok 1377 /checksum/SHA384/reset/79 1291s ok 1378 /checksum/SHA384/reset/80 1291s ok 1379 /checksum/SHA384/reset/81 1291s ok 1380 /checksum/SHA384/reset/82 1291s ok 1381 /checksum/SHA384/reset/83 1291s ok 1382 /checksum/SHA384/reset/84 1291s ok 1383 /checksum/SHA384/reset/85 1291s ok 1384 /checksum/SHA384/reset/86 1291s ok 1385 /checksum/SHA384/reset/87 1291s ok 1386 /checksum/SHA384/reset/88 1291s ok 1387 /checksum/SHA384/reset/89 1291s ok 1388 /checksum/SHA384/reset/90 1291s ok 1389 /checksum/SHA384/reset/91 1291s ok 1390 /checksum/SHA384/reset/92 1291s ok 1391 /checksum/SHA384/reset/93 1291s ok 1392 /checksum/SHA384/reset/94 1291s ok 1393 /checksum/SHA384/reset/95 1291s ok 1394 /checksum/SHA384/reset/96 1291s ok 1395 /checksum/SHA384/reset/97 1291s ok 1396 /checksum/SHA384/reset/98 1291s ok 1397 /checksum/SHA384/reset/99 1291s ok 1398 /checksum/SHA384/reset/100 1291s ok 1399 /checksum/SHA384/reset/101 1291s ok 1400 /checksum/SHA384/reset/102 1291s ok 1401 /checksum/SHA384/reset/103 1291s ok 1402 /checksum/SHA384/reset/104 1291s ok 1403 /checksum/SHA384/reset/105 1291s ok 1404 /checksum/SHA384/reset/106 1291s ok 1405 /checksum/SHA384/reset/107 1291s ok 1406 /checksum/SHA384/reset/108 1291s ok 1407 /checksum/SHA384/reset/109 1291s ok 1408 /checksum/SHA384/reset/110 1291s ok 1409 /checksum/SHA384/reset/111 1291s ok 1410 /checksum/SHA384/reset/112 1291s ok 1411 /checksum/SHA384/reset/113 1291s ok 1412 /checksum/SHA384/reset/114 1291s ok 1413 /checksum/SHA384/reset/115 1291s ok 1414 /checksum/SHA384/reset/116 1291s ok 1415 /checksum/SHA384/reset/117 1291s ok 1416 /checksum/SHA384/reset/118 1291s ok 1417 /checksum/SHA384/reset/119 1291s ok 1418 /checksum/SHA384/reset/120 1291s ok 1419 /checksum/SHA384/reset/121 1291s ok 1420 /checksum/SHA384/reset/122 1291s ok 1421 /checksum/SHA384/reset/123 1291s ok 1422 /checksum/SHA384/reset/124 1291s ok 1423 /checksum/SHA384/reset/125 1291s ok 1424 /checksum/SHA384/reset/126 1291s ok 1425 /checksum/SHA384/reset/127 1291s ok 1426 /checksum/SHA384/reset/128 1291s ok 1427 /checksum/SHA384/reset/129 1291s ok 1428 /checksum/SHA384/reset/130 1291s ok 1429 /checksum/SHA384/reset/131 1291s ok 1430 /checksum/SHA384/reset/132 1291s ok 1431 /checksum/SHA384/reset/133 1291s ok 1432 /checksum/SHA384/reset/134 1291s ok 1433 /checksum/SHA384/reset/135 1291s ok 1434 /checksum/SHA384/reset/136 1291s ok 1435 /checksum/SHA384/reset/137 1291s ok 1436 /checksum/SHA384/reset/138 1291s ok 1437 /checksum/SHA384/reset/139 1291s ok 1438 /checksum/SHA384/reset/140 1291s ok 1439 /checksum/SHA384/reset/141 1291s ok 1440 /checksum/SHA384/reset/142 1291s ok 1441 /checksum/SHA384/reset/143 1291s ok 1442 /checksum/SHA384/reset/144 1291s ok 1443 /checksum/SHA384/reset/145 1291s ok 1444 /checksum/SHA384/reset/146 1291s ok 1445 /checksum/SHA384/reset/147 1291s ok 1446 /checksum/SHA384/reset/148 1291s ok 1447 /checksum/SHA384/reset/149 1291s ok 1448 /checksum/SHA384/reset/150 1291s ok 1449 /checksum/SHA384/reset/151 1291s ok 1450 /checksum/SHA384/reset/152 1291s ok 1451 /checksum/SHA384/reset/153 1291s ok 1452 /checksum/SHA384/reset/154 1291s ok 1453 /checksum/SHA384/reset/155 1291s ok 1454 /checksum/SHA384/reset/156 1291s ok 1455 /checksum/SHA384/reset/157 1291s ok 1456 /checksum/SHA384/reset/158 1291s ok 1457 /checksum/SHA384/reset/159 1291s ok 1458 /checksum/SHA384/reset/160 1291s ok 1459 /checksum/SHA384/reset/161 1291s ok 1460 /checksum/SHA384/reset/162 1291s ok 1461 /checksum/SHA384/reset/163 1291s ok 1462 /checksum/SHA384/reset/164 1291s ok 1463 /checksum/SHA384/reset/165 1291s ok 1464 /checksum/SHA384/reset/166 1291s ok 1465 /checksum/SHA384/reset/167 1291s ok 1466 /checksum/SHA384/reset/168 1291s ok 1467 /checksum/SHA384/reset/169 1291s ok 1468 /checksum/SHA384/reset/170 1291s ok 1469 /checksum/SHA384/reset/171 1291s ok 1470 /checksum/SHA384/reset/172 1291s ok 1471 /checksum/SHA384/reset/173 1291s ok 1472 /checksum/SHA384/reset/174 1291s ok 1473 /checksum/SHA384/reset/175 1291s ok 1474 /checksum/SHA384/reset/176 1291s ok 1475 /checksum/SHA384/reset/177 1291s ok 1476 /checksum/SHA384/reset/178 1291s ok 1477 /checksum/SHA384/reset/179 1291s ok 1478 /checksum/SHA384/reset/180 1291s ok 1479 /checksum/SHA384/reset/181 1291s ok 1480 /checksum/SHA384/reset/182 1291s ok 1481 /checksum/SHA384/reset/183 1291s # End of reset tests 1291s # End of SHA384 tests 1291s # Start of SHA512 tests 1291s ok 1482 /checksum/SHA512/0 1291s ok 1483 /checksum/SHA512/1 1291s ok 1484 /checksum/SHA512/2 1291s ok 1485 /checksum/SHA512/3 1291s ok 1486 /checksum/SHA512/4 1291s ok 1487 /checksum/SHA512/5 1291s ok 1488 /checksum/SHA512/6 1291s ok 1489 /checksum/SHA512/7 1291s ok 1490 /checksum/SHA512/8 1291s ok 1491 /checksum/SHA512/9 1291s ok 1492 /checksum/SHA512/10 1291s ok 1493 /checksum/SHA512/11 1291s ok 1494 /checksum/SHA512/12 1291s ok 1495 /checksum/SHA512/13 1291s ok 1496 /checksum/SHA512/14 1291s ok 1497 /checksum/SHA512/15 1291s ok 1498 /checksum/SHA512/16 1291s ok 1499 /checksum/SHA512/17 1291s ok 1500 /checksum/SHA512/18 1291s ok 1501 /checksum/SHA512/19 1291s ok 1502 /checksum/SHA512/20 1291s ok 1503 /checksum/SHA512/21 1291s ok 1504 /checksum/SHA512/22 1291s ok 1505 /checksum/SHA512/23 1291s ok 1506 /checksum/SHA512/24 1291s ok 1507 /checksum/SHA512/25 1291s ok 1508 /checksum/SHA512/26 1291s ok 1509 /checksum/SHA512/27 1291s ok 1510 /checksum/SHA512/28 1291s ok 1511 /checksum/SHA512/29 1291s ok 1512 /checksum/SHA512/30 1291s ok 1513 /checksum/SHA512/31 1291s ok 1514 /checksum/SHA512/32 1291s ok 1515 /checksum/SHA512/33 1291s ok 1516 /checksum/SHA512/34 1291s ok 1517 /checksum/SHA512/35 1291s ok 1518 /checksum/SHA512/36 1291s ok 1519 /checksum/SHA512/37 1291s ok 1520 /checksum/SHA512/38 1291s ok 1521 /checksum/SHA512/39 1291s ok 1522 /checksum/SHA512/40 1291s ok 1523 /checksum/SHA512/41 1291s ok 1524 /checksum/SHA512/42 1291s ok 1525 /checksum/SHA512/43 1291s ok 1526 /checksum/SHA512/44 1291s ok 1527 /checksum/SHA512/45 1291s ok 1528 /checksum/SHA512/46 1291s ok 1529 /checksum/SHA512/47 1291s ok 1530 /checksum/SHA512/48 1291s ok 1531 /checksum/SHA512/49 1291s ok 1532 /checksum/SHA512/50 1291s ok 1533 /checksum/SHA512/51 1291s ok 1534 /checksum/SHA512/52 1291s ok 1535 /checksum/SHA512/53 1291s ok 1536 /checksum/SHA512/54 1291s ok 1537 /checksum/SHA512/55 1291s ok 1538 /checksum/SHA512/56 1291s ok 1539 /checksum/SHA512/57 1291s ok 1540 /checksum/SHA512/58 1291s ok 1541 /checksum/SHA512/59 1291s ok 1542 /checksum/SHA512/60 1291s ok 1543 /checksum/SHA512/61 1291s ok 1544 /checksum/SHA512/62 1291s ok 1545 /checksum/SHA512/63 1291s ok 1546 /checksum/SHA512/64 1291s ok 1547 /checksum/SHA512/65 1291s ok 1548 /checksum/SHA512/66 1291s ok 1549 /checksum/SHA512/67 1291s ok 1550 /checksum/SHA512/68 1291s ok 1551 /checksum/SHA512/69 1291s ok 1552 /checksum/SHA512/70 1291s ok 1553 /checksum/SHA512/71 1291s ok 1554 /checksum/SHA512/72 1291s ok 1555 /checksum/SHA512/73 1291s ok 1556 /checksum/SHA512/74 1291s ok 1557 /checksum/SHA512/75 1291s ok 1558 /checksum/SHA512/76 1291s ok 1559 /checksum/SHA512/77 1291s ok 1560 /checksum/SHA512/78 1291s ok 1561 /checksum/SHA512/79 1291s ok 1562 /checksum/SHA512/80 1291s ok 1563 /checksum/SHA512/81 1291s ok 1564 /checksum/SHA512/82 1291s ok 1565 /checksum/SHA512/83 1291s ok 1566 /checksum/SHA512/84 1291s ok 1567 /checksum/SHA512/85 1291s ok 1568 /checksum/SHA512/86 1291s ok 1569 /checksum/SHA512/87 1291s ok 1570 /checksum/SHA512/88 1291s ok 1571 /checksum/SHA512/89 1291s ok 1572 /checksum/SHA512/90 1291s ok 1573 /checksum/SHA512/91 1291s ok 1574 /checksum/SHA512/92 1291s ok 1575 /checksum/SHA512/93 1291s ok 1576 /checksum/SHA512/94 1291s ok 1577 /checksum/SHA512/95 1291s ok 1578 /checksum/SHA512/96 1291s ok 1579 /checksum/SHA512/97 1291s ok 1580 /checksum/SHA512/98 1291s ok 1581 /checksum/SHA512/99 1291s ok 1582 /checksum/SHA512/100 1291s ok 1583 /checksum/SHA512/101 1291s ok 1584 /checksum/SHA512/102 1291s ok 1585 /checksum/SHA512/103 1291s ok 1586 /checksum/SHA512/104 1291s ok 1587 /checksum/SHA512/105 1291s ok 1588 /checksum/SHA512/106 1291s ok 1589 /checksum/SHA512/107 1291s ok 1590 /checksum/SHA512/108 1291s ok 1591 /checksum/SHA512/109 1291s ok 1592 /checksum/SHA512/110 1291s ok 1593 /checksum/SHA512/111 1291s ok 1594 /checksum/SHA512/112 1291s ok 1595 /checksum/SHA512/113 1291s ok 1596 /checksum/SHA512/114 1291s ok 1597 /checksum/SHA512/115 1291s ok 1598 /checksum/SHA512/116 1291s ok 1599 /checksum/SHA512/117 1291s ok 1600 /checksum/SHA512/118 1291s ok 1601 /checksum/SHA512/119 1291s ok 1602 /checksum/SHA512/120 1291s ok 1603 /checksum/SHA512/121 1291s ok 1604 /checksum/SHA512/122 1291s ok 1605 /checksum/SHA512/123 1291s ok 1606 /checksum/SHA512/124 1291s ok 1607 /checksum/SHA512/125 1291s ok 1608 /checksum/SHA512/126 1291s ok 1609 /checksum/SHA512/127 1291s ok 1610 /checksum/SHA512/128 1291s ok 1611 /checksum/SHA512/129 1291s ok 1612 /checksum/SHA512/130 1291s ok 1613 /checksum/SHA512/131 1291s ok 1614 /checksum/SHA512/132 1291s ok 1615 /checksum/SHA512/133 1291s ok 1616 /checksum/SHA512/134 1291s ok 1617 /checksum/SHA512/135 1291s ok 1618 /checksum/SHA512/136 1291s ok 1619 /checksum/SHA512/137 1291s ok 1620 /checksum/SHA512/138 1291s ok 1621 /checksum/SHA512/139 1291s ok 1622 /checksum/SHA512/140 1291s ok 1623 /checksum/SHA512/141 1291s ok 1624 /checksum/SHA512/142 1291s ok 1625 /checksum/SHA512/143 1291s ok 1626 /checksum/SHA512/144 1291s ok 1627 /checksum/SHA512/145 1291s ok 1628 /checksum/SHA512/146 1291s ok 1629 /checksum/SHA512/147 1291s ok 1630 /checksum/SHA512/148 1291s ok 1631 /checksum/SHA512/149 1291s ok 1632 /checksum/SHA512/150 1291s ok 1633 /checksum/SHA512/151 1291s ok 1634 /checksum/SHA512/152 1291s ok 1635 /checksum/SHA512/153 1291s ok 1636 /checksum/SHA512/154 1291s ok 1637 /checksum/SHA512/155 1291s ok 1638 /checksum/SHA512/156 1291s ok 1639 /checksum/SHA512/157 1291s ok 1640 /checksum/SHA512/158 1291s ok 1641 /checksum/SHA512/159 1291s ok 1642 /checksum/SHA512/160 1291s ok 1643 /checksum/SHA512/161 1291s ok 1644 /checksum/SHA512/162 1291s ok 1645 /checksum/SHA512/163 1291s ok 1646 /checksum/SHA512/164 1291s ok 1647 /checksum/SHA512/165 1291s ok 1648 /checksum/SHA512/166 1291s ok 1649 /checksum/SHA512/167 1291s ok 1650 /checksum/SHA512/168 1291s ok 1651 /checksum/SHA512/169 1291s ok 1652 /checksum/SHA512/170 1291s ok 1653 /checksum/SHA512/171 1291s ok 1654 /checksum/SHA512/172 1291s ok 1655 /checksum/SHA512/173 1291s ok 1656 /checksum/SHA512/174 1291s ok 1657 /checksum/SHA512/175 1291s ok 1658 /checksum/SHA512/176 1291s ok 1659 /checksum/SHA512/177 1291s ok 1660 /checksum/SHA512/178 1291s ok 1661 /checksum/SHA512/179 1291s ok 1662 /checksum/SHA512/180 1291s ok 1663 /checksum/SHA512/181 1291s ok 1664 /checksum/SHA512/182 1291s ok 1665 /checksum/SHA512/183 1291s ok 1666 /checksum/SHA512/string 1291s ok 1667 /checksum/SHA512/bytes 1291s # Start of reset tests 1291s ok 1668 /checksum/SHA512/reset/0 1291s ok 1669 /checksum/SHA512/reset/1 1291s ok 1670 /checksum/SHA512/reset/2 1291s ok 1671 /checksum/SHA512/reset/3 1291s ok 1672 /checksum/SHA512/reset/4 1291s ok 1673 /checksum/SHA512/reset/5 1291s ok 1674 /checksum/SHA512/reset/6 1291s ok 1675 /checksum/SHA512/reset/7 1291s ok 1676 /checksum/SHA512/reset/8 1291s ok 1677 /checksum/SHA512/reset/9 1291s ok 1678 /checksum/SHA512/reset/10 1291s ok 1679 /checksum/SHA512/reset/11 1291s ok 1680 /checksum/SHA512/reset/12 1291s ok 1681 /checksum/SHA512/reset/13 1291s ok 1682 /checksum/SHA512/reset/14 1291s ok 1683 /checksum/SHA512/reset/15 1291s ok 1684 /checksum/SHA512/reset/16 1291s ok 1685 /checksum/SHA512/reset/17 1291s ok 1686 /checksum/SHA512/reset/18 1291s ok 1687 /checksum/SHA512/reset/19 1291s ok 1688 /checksum/SHA512/reset/20 1291s ok 1689 /checksum/SHA512/reset/21 1291s ok 1690 /checksum/SHA512/reset/22 1291s ok 1691 /checksum/SHA512/reset/23 1291s ok 1692 /checksum/SHA512/reset/24 1291s ok 1693 /checksum/SHA512/reset/25 1291s ok 1694 /checksum/SHA512/reset/26 1291s ok 1695 /checksum/SHA512/reset/27 1291s ok 1696 /checksum/SHA512/reset/28 1291s ok 1697 /checksum/SHA512/reset/29 1291s ok 1698 /checksum/SHA512/reset/30 1291s ok 1699 /checksum/SHA512/reset/31 1291s ok 1700 /checksum/SHA512/reset/32 1291s ok 1701 /checksum/SHA512/reset/33 1291s ok 1702 /checksum/SHA512/reset/34 1291s ok 1703 /checksum/SHA512/reset/35 1291s ok 1704 /checksum/SHA512/reset/36 1291s ok 1705 /checksum/SHA512/reset/37 1291s ok 1706 /checksum/SHA512/reset/38 1291s ok 1707 /checksum/SHA512/reset/39 1291s ok 1708 /checksum/SHA512/reset/40 1291s ok 1709 /checksum/SHA512/reset/41 1291s ok 1710 /checksum/SHA512/reset/42 1291s ok 1711 /checksum/SHA512/reset/43 1291s ok 1712 /checksum/SHA512/reset/44 1291s ok 1713 /checksum/SHA512/reset/45 1291s ok 1714 /checksum/SHA512/reset/46 1291s ok 1715 /checksum/SHA512/reset/47 1291s ok 1716 /checksum/SHA512/reset/48 1291s ok 1717 /checksum/SHA512/reset/49 1291s ok 1718 /checksum/SHA512/reset/50 1291s ok 1719 /checksum/SHA512/reset/51 1291s ok 1720 /checksum/SHA512/reset/52 1291s ok 1721 /checksum/SHA512/reset/53 1291s ok 1722 /checksum/SHA512/reset/54 1291s ok 1723 /checksum/SHA512/reset/55 1291s ok 1724 /checksum/SHA512/reset/56 1291s ok 1725 /checksum/SHA512/reset/57 1291s ok 1726 /checksum/SHA512/reset/58 1291s ok 1727 /checksum/SHA512/reset/59 1291s ok 1728 /checksum/SHA512/reset/60 1291s ok 1729 /checksum/SHA512/reset/61 1291s ok 1730 /checksum/SHA512/reset/62 1291s ok 1731 /checksum/SHA512/reset/63 1291s ok 1732 /checksum/SHA512/reset/64 1291s ok 1733 /checksum/SHA512/reset/65 1291s ok 1734 /checksum/SHA512/reset/66 1291s ok 1735 /checksum/SHA512/reset/67 1291s ok 1736 /checksum/SHA512/reset/68 1291s ok 1737 /checksum/SHA512/reset/69 1291s ok 1738 /checksum/SHA512/reset/70 1291s ok 1739 /checksum/SHA512/reset/71 1291s ok 1740 /checksum/SHA512/reset/72 1291s ok 1741 /checksum/SHA512/reset/73 1291s ok 1742 /checksum/SHA512/reset/74 1291s ok 1743 /checksum/SHA512/reset/75 1291s ok 1744 /checksum/SHA512/reset/76 1291s ok 1745 /checksum/SHA512/reset/77 1291s ok 1746 /checksum/SHA512/reset/78 1291s ok 1747 /checksum/SHA512/reset/79 1291s ok 1748 /checksum/SHA512/reset/80 1291s ok 1749 /checksum/SHA512/reset/81 1291s ok 1750 /checksum/SHA512/reset/82 1291s ok 1751 /checksum/SHA512/reset/83 1291s ok 1752 /checksum/SHA512/reset/84 1291s ok 1753 /checksum/SHA512/reset/85 1291s ok 1754 /checksum/SHA512/reset/86 1291s ok 1755 /checksum/SHA512/reset/87 1291s ok 1756 /checksum/SHA512/reset/88 1291s ok 1757 /checksum/SHA512/reset/89 1291s ok 1758 /checksum/SHA512/reset/90 1291s ok 1759 /checksum/SHA512/reset/91 1291s ok 1760 /checksum/SHA512/reset/92 1291s ok 1761 /checksum/SHA512/reset/93 1291s ok 1762 /checksum/SHA512/reset/94 1291s ok 1763 /checksum/SHA512/reset/95 1291s ok 1764 /checksum/SHA512/reset/96 1291s ok 1765 /checksum/SHA512/reset/97 1291s ok 1766 /checksum/SHA512/reset/98 1291s ok 1767 /checksum/SHA512/reset/99 1291s ok 1768 /checksum/SHA512/reset/100 1291s ok 1769 /checksum/SHA512/reset/101 1291s ok 1770 /checksum/SHA512/reset/102 1291s ok 1771 /checksum/SHA512/reset/103 1291s ok 1772 /checksum/SHA512/reset/104 1291s ok 1773 /checksum/SHA512/reset/105 1291s ok 1774 /checksum/SHA512/reset/106 1291s ok 1775 /checksum/SHA512/reset/107 1291s ok 1776 /checksum/SHA512/reset/108 1291s ok 1777 /checksum/SHA512/reset/109 1291s ok 1778 /checksum/SHA512/reset/110 1291s ok 1779 /checksum/SHA512/reset/111 1291s ok 1780 /checksum/SHA512/reset/112 1291s ok 1781 /checksum/SHA512/reset/113 1291s ok 1782 /checksum/SHA512/reset/114 1291s ok 1783 /checksum/SHA512/reset/115 1291s ok 1784 /checksum/SHA512/reset/116 1291s ok 1785 /checksum/SHA512/reset/117 1291s ok 1786 /checksum/SHA512/reset/118 1291s ok 1787 /checksum/SHA512/reset/119 1291s ok 1788 /checksum/SHA512/reset/120 1291s ok 1789 /checksum/SHA512/reset/121 1291s ok 1790 /checksum/SHA512/reset/122 1291s ok 1791 /checksum/SHA512/reset/123 1291s ok 1792 /checksum/SHA512/reset/124 1291s ok 1793 /checksum/SHA512/reset/125 1291s ok 1794 /checksum/SHA512/reset/126 1291s ok 1795 /checksum/SHA512/reset/127 1291s ok 1796 /checksum/SHA512/reset/128 1291s ok 1797 /checksum/SHA512/reset/129 1291s ok 1798 /checksum/SHA512/reset/130 1291s ok 1799 /checksum/SHA512/reset/131 1291s ok 1800 /checksum/SHA512/reset/132 1291s ok 1801 /checksum/SHA512/reset/133 1291s ok 1802 /checksum/SHA512/reset/134 1291s ok 1803 /checksum/SHA512/reset/135 1291s ok 1804 /checksum/SHA512/reset/136 1291s ok 1805 /checksum/SHA512/reset/137 1291s ok 1806 /checksum/SHA512/reset/138 1291s ok 1807 /checksum/SHA512/reset/139 1291s ok 1808 /checksum/SHA512/reset/140 1291s ok 1809 /checksum/SHA512/reset/141 1291s ok 1810 /checksum/SHA512/reset/142 1291s ok 1811 /checksum/SHA512/reset/143 1291s ok 1812 /checksum/SHA512/reset/144 1291s ok 1813 /checksum/SHA512/reset/145 1291s ok 1814 /checksum/SHA512/reset/146 1291s ok 1815 /checksum/SHA512/reset/147 1291s ok 1816 /checksum/SHA512/reset/148 1291s ok 1817 /checksum/SHA512/reset/149 1291s ok 1818 /checksum/SHA512/reset/150 1291s ok 1819 /checksum/SHA512/reset/151 1291s ok 1820 /checksum/SHA512/reset/152 1291s ok 1821 /checksum/SHA512/reset/153 1291s ok 1822 /checksum/SHA512/reset/154 1291s ok 1823 /checksum/SHA512/reset/155 1291s ok 1824 /checksum/SHA512/reset/156 1291s ok 1825 /checksum/SHA512/reset/157 1291s ok 1826 /checksum/SHA512/reset/158 1291s ok 1827 /checksum/SHA512/reset/159 1291s ok 1828 /checksum/SHA512/reset/160 1291s ok 1829 /checksum/SHA512/reset/161 1291s ok 1830 /checksum/SHA512/reset/162 1291s ok 1831 /checksum/SHA512/reset/163 1291s ok 1832 /checksum/SHA512/reset/164 1291s ok 1833 /checksum/SHA512/reset/165 1291s ok 1834 /checksum/SHA512/reset/166 1291s ok 1835 /checksum/SHA512/reset/167 1291s ok 1836 /checksum/SHA512/reset/168 1291s ok 1837 /checksum/SHA512/reset/169 1291s ok 1838 /checksum/SHA512/reset/170 1291s ok 1839 /checksum/SHA512/reset/171 1291s ok 1840 /checksum/SHA512/reset/172 1291s ok 1841 /checksum/SHA512/reset/173 1291s ok 1842 /checksum/SHA512/reset/174 1291s ok 1843 /checksum/SHA512/reset/175 1291s ok 1844 /checksum/SHA512/reset/176 1291s ok 1845 /checksum/SHA512/reset/177 1291s ok 1846 /checksum/SHA512/reset/178 1291s ok 1847 /checksum/SHA512/reset/179 1291s ok 1848 /checksum/SHA512/reset/180 1291s ok 1849 /checksum/SHA512/reset/181 1291s ok 1850 /checksum/SHA512/reset/182 1291s ok 1851 /checksum/SHA512/reset/183 1291s # End of reset tests 1291s # End of SHA512 tests 1291s # End of checksum tests 1291s ok - glib/checksum.test 1291s # Running test: glib/unix-fd.test 1291s TAP version 14 1291s # random seed: R02Sccded82a01d56d04b66935779751fda5 1291s 1..2 1291s # Start of unix-fd tests 1291s ok 1 /unix-fd/fd-list 1291s ok 2 /unix-fd/scm 1291s # End of unix-fd tests 1291s ok - glib/unix-fd.test 1291s # Running test: glib/portal-support-flatpak-full.test 1291s TAP version 14 1291s # random seed: R02S066e6414e2dd63de08e74f92db5f51db 1291s 1..1 1291s # Start of portal-support tests 1291s # Start of flatpak tests 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/runtime 1291s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_WM0212/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1291s ok 1 /portal-support/flatpak/full 1291s # End of flatpak tests 1291s # End of portal-support tests 1291s ok - glib/portal-support-flatpak-full.test 1291s # Running test: glib/assert-msg-test.py.test 1291s TAP version 13 1291s ok 1 __main__.TestAssertMessage.test_gassert 1291s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1291s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1291s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'build-essential/12.12', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-PXOrjyF8o8,guid=5de98363c9ef12546dd194fc67b8f5f2', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.WcFGAy/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OkGgQFLVAE', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.jwBk9l/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.WcFGAy/wrapper.sh --artifacts=/tmp/autopkgtest.WcFGAy/installed-tests-artifacts --chdir=/tmp/autopkgtest.WcFGAy/build.Jie/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.WcFGAy/installed-tests-stderr --stdout=/tmp/autopkgtest.WcFGAy/installed-tests-stdout --tmp=/tmp/autopkgtest.WcFGAy/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12 --make-executable=/tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests -- /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.WcFGAy/build.Jie/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.WcFGAy/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1291s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1291s # Error: ** 1291s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1291s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1291s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1291s 1..2 1291s ok - glib/assert-msg-test.py.test 1291s # Running test: glib/cmph-bdz.test 1291s TAP version 14 1291s # random seed: R02S213bd39b1a17fd9abe9417270c28b31a 1291s 1..2 1291s # Start of cmph-bdz tests 1291s ok 1 /cmph-bdz/search 1291s ok 2 /cmph-bdz/search-packed 1291s # End of cmph-bdz tests 1291s ok - glib/cmph-bdz.test 1291s # Running test: glib/gdbus-subscribe.test 1291s TAP version 14 1291s # random seed: R02S79d7a3823fbc17066af8f5746275719b 1291s 1..24 1291s # Start of gdbus tests 1291s # Start of subscribe tests 1291s # Start of conn tests 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/simple/.dirs/runtime 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1291s # Step 0: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 1: adding subscription 1291s # Sender: (any) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 2: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 2 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 1 /gdbus/subscribe/conn/simple 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1291s # Step 0: adding subscription 1291s # Sender: (any) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 1: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 2: emitting signal 1291s # Sender: service 2 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 3: emitting signal 1291s # Sender: service 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 4: emitting signal 1291s # Sender: service 2 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 1 1291s # Signal received from service 2 :1.2 1291s # Signal received from service 2 :1.2 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 2 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 3 1291s # Signal received from service 2 :1.2 1291s # Signal received from service 2 :1.2 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 4 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1291s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1291s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1291s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/match_twice/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1291s # Step 0: adding subscription 1291s # Sender: service :1.1 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 1: adding subscription 1291s # Sender: (any) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: (any) 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 2: adding subscription 1291s # Sender: (any) 1291s # Path: (any) 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 3: adding subscription 1291s # Sender: service :1.1 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 4: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 4 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 4 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 4 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 4 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 3 /gdbus/subscribe/conn/match_twice 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1291s # Step 0: adding subscription 1291s # Sender: service :1.1 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 1: emitting signal 1291s # Sender: attacker 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 2: emitting signal 1291s # Sender: attacker 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 3: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 3 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1291s # Step 0: adding subscription 1291s # Sender: :0.this.had.better.not.exist 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 1: emitting signal 1291s # Sender: attacker 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 2: emitting signal 1291s # Sender: attacker 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /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 1291s # Step 0: claiming bus name 1291s # Name: org.gtk.Test.AlreadyOwned 1291s # Owner: service 1291s # Step 1: adding subscription 1291s # Sender: org.gtk.Test.AlreadyOwned 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 2: adding subscription 1291s # Sender: org.gtk.Test.OwnedLater 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 3: emitting signal 1291s # Sender: attacker 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 4: emitting signal 1291s # Sender: attacker 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 5: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 6: claiming bus name 1291s # Name: org.gtk.Test.OwnedLater 1291s # Owner: service 1291s # Step 7: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 5 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 7 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 7 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1291s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1291s # Step 0: adding subscription 1291s # Sender: org.freedesktop.DBus 1291s # Path: /org/freedesktop/DBus 1291s # Interface: org.freedesktop.DBus 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Waiting for AddMatch to be processed 1291s # Step 1: emitting signal 1291s # Sender: attacker 1291s # Destination: (broadcast) 1291s # Path: /org/freedesktop/DBus 1291s # Interface: org.freedesktop.DBus 1291s # Member: NameOwnerChanged 1291s # String argument 0: would I lie to you? 1291s # Waiting for signal to reach message bus 1291s # Step 2: emitting signal 1291s # Sender: attacker 1291s # Destination: subscriber :1.0 1291s # Path: /org/freedesktop/DBus 1291s # Interface: org.freedesktop.DBus 1291s # Member: NameOwnerChanged 1291s # Waiting for signal to reach message bus 1291s # Step 3: claiming bus name 1291s # Name: org.gtk.Test.OwnedLater 1291s # Owner: service 1291s # Signal received from message bus org.freedesktop.DBus 1291s # Signal received from (unused) org.freedesktop.DBus via connection 1291s # Path: /org/freedesktop/DBus 1291s # Interface: org.freedesktop.DBus 1291s # Member: NameOwnerChanged 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1291s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1291s # Step 0: claiming bus name 1291s # Name: org.gtk.Test.AlreadyOwned 1291s # Owner: service 1291s # Step 1: adding subscription 1291s # Sender: org.gtk.Test.AlreadyOwned 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Immediately unsubscribing 1291s # Waiting for AddMatch to be processed 1291s # Step 2: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1291s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1291s # End of conn tests 1291s # Start of proxy tests 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/simple/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1291s # Step 0: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 1: adding subscription 1291s # Sender: (any) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Cannot subscribe via proxy: no bus name 1291s # Waiting for AddMatch to be processed 1291s # Step 2: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 9 /gdbus/subscribe/proxy/simple 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1291s # Step 0: adding subscription 1291s # Sender: (any) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Cannot subscribe via proxy: no bus name 1291s # Waiting for AddMatch to be processed 1291s # Step 1: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 2: emitting signal 1291s # Sender: service 2 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 3: emitting signal 1291s # Sender: service 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 4: emitting signal 1291s # Sender: service 2 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1291s # Step 0: adding subscription 1291s # Sender: service :1.1 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via proxy 1291s # Waiting for AddMatch to be processed 1291s # Step 1: adding subscription 1291s # Sender: (any) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: (any) 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Cannot subscribe via proxy: no bus name 1291s # Waiting for AddMatch to be processed 1291s # Step 2: adding subscription 1291s # Sender: (any) 1291s # Path: (any) 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Cannot subscribe via proxy: no bus name 1291s # Waiting for AddMatch to be processed 1291s # Step 3: adding subscription 1291s # Sender: service :1.1 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via proxy 1291s # Waiting for AddMatch to be processed 1291s # Step 4: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via proxy 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 4 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via proxy 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 4 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 11 /gdbus/subscribe/proxy/match_twice 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1291s # Step 0: adding subscription 1291s # Sender: service :1.1 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via proxy 1291s # Waiting for AddMatch to be processed 1291s # Step 1: emitting signal 1291s # Sender: attacker 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 2: emitting signal 1291s # Sender: attacker 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 3: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via proxy 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 3 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1291s # Step 0: adding subscription 1291s # Sender: :0.this.had.better.not.exist 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via proxy 1291s # Waiting for AddMatch to be processed 1291s # Step 1: emitting signal 1291s # Sender: attacker 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 2: emitting signal 1291s # Sender: attacker 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /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 1291s # Step 0: claiming bus name 1291s # Name: org.gtk.Test.AlreadyOwned 1291s # Owner: service 1291s # Step 1: adding subscription 1291s # Sender: org.gtk.Test.AlreadyOwned 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via proxy 1291s # Waiting for AddMatch to be processed 1291s # Step 2: adding subscription 1291s # Sender: org.gtk.Test.OwnedLater 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via proxy 1291s # Waiting for AddMatch to be processed 1291s # Step 3: emitting signal 1291s # Sender: attacker 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 4: emitting signal 1291s # Sender: attacker 1291s # Destination: subscriber :1.0 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 5: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 6: claiming bus name 1291s # Name: org.gtk.Test.OwnedLater 1291s # Owner: service 1291s # Step 7: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via proxy 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 5 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via proxy 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 7 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via proxy 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 7 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1291s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1291s # Step 0: adding subscription 1291s # Sender: org.freedesktop.DBus 1291s # Path: /org/freedesktop/DBus 1291s # Interface: org.freedesktop.DBus 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via proxy 1291s # Waiting for AddMatch to be processed 1291s # Step 1: emitting signal 1291s # Sender: attacker 1291s # Destination: (broadcast) 1291s # Path: /org/freedesktop/DBus 1291s # Interface: org.freedesktop.DBus 1291s # Member: NameOwnerChanged 1291s # String argument 0: would I lie to you? 1291s # Waiting for signal to reach message bus 1291s # Step 2: emitting signal 1291s # Sender: attacker 1291s # Destination: subscriber :1.0 1291s # Path: /org/freedesktop/DBus 1291s # Interface: org.freedesktop.DBus 1291s # Member: NameOwnerChanged 1291s # Waiting for signal to reach message bus 1291s # Step 3: claiming bus name 1291s # Name: org.gtk.Test.OwnedLater 1291s # Owner: service 1291s # Signal received from message bus org.freedesktop.DBus 1291s # Signal received from (unused) org.freedesktop.DBus via proxy 1291s # Path: /org/freedesktop/DBus 1291s # Interface: org.freedesktop.DBus 1291s # Member: NameOwnerChanged 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1291s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1291s # Step 0: claiming bus name 1291s # Name: org.gtk.Test.AlreadyOwned 1291s # Owner: service 1291s # Step 1: adding subscription 1291s # Sender: org.gtk.Test.AlreadyOwned 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via proxy 1291s # Waiting for AddMatch to be processed 1291s # Step 2: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via proxy 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 2 1291s # Received Finished signal from subscriber :1.0 1291s # Received Finished signal from service :1.1 1291s # Received Finished signal from service 2 :1.2 1291s # Received Finished signal from attacker :1.3 1291s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1291s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1291s # End of proxy tests 1291s # Start of parallel tests 1291s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/home 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/cache 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/system-config2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/config 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/system-data2 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/data 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/state 1291s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/simple/.dirs/runtime 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1291s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1291s # subscriber is :1.0 1291s # service is :1.1 1291s # service 2 is :1.2 1291s # attacker is :1.3 1291s # Waiting for AddMatch to be processed 1291s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1291s # Step 0: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Step 1: adding subscription 1291s # Sender: (any) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: (any) 1291s # String argument 0: (any) 1291s # Flags: 0 1291s # Subscribing via connection 1291s # Cannot subscribe via proxy: no bus name 1291s # Waiting for AddMatch to be processed 1291s # Step 2: emitting signal 1291s # Sender: service 1291s # Destination: (broadcast) 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Waiting for signal to reach message bus 1291s # Signal received from service :1.1 1291s # Signal received from service :1.1 via connection 1291s # Path: /org/gtk/GDBus/ExampleInterface 1291s # Interface: org.gtk.GDBus.ExampleInterface 1291s # Member: Foo 1291s # Argument 0: (not a string) 1291s # Sent in step: 2 1292s # Received Finished signal from subscriber :1.0 1292s # Received Finished signal from service :1.1 1292s # Received Finished signal from service 2 :1.2 1292s # Received Finished signal from attacker :1.3 1292s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1292s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 17 /gdbus/subscribe/parallel/simple 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1292s # subscriber is :1.0 1292s # service is :1.1 1292s # service 2 is :1.2 1292s # attacker is :1.3 1292s # Waiting for AddMatch to be processed 1292s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1292s # Step 0: adding subscription 1292s # Sender: (any) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Cannot subscribe via proxy: no bus name 1292s # Waiting for AddMatch to be processed 1292s # Step 1: emitting signal 1292s # Sender: service 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Step 2: emitting signal 1292s # Sender: service 2 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Step 3: emitting signal 1292s # Sender: service 1292s # Destination: subscriber :1.0 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Step 4: emitting signal 1292s # Sender: service 2 1292s # Destination: subscriber :1.0 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 1 1292s # Signal received from service 2 :1.2 1292s # Signal received from service 2 :1.2 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 2 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 3 1292s # Signal received from service 2 :1.2 1292s # Signal received from service 2 :1.2 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 4 1292s # Received Finished signal from subscriber :1.0 1292s # Received Finished signal from service :1.1 1292s # Received Finished signal from service 2 :1.2 1292s # Received Finished signal from attacker :1.3 1292s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1292s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1292s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1292s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1292s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1292s # subscriber is :1.0 1292s # service is :1.1 1292s # service 2 is :1.2 1292s # attacker is :1.3 1292s # Waiting for AddMatch to be processed 1292s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1292s # Step 0: adding subscription 1292s # Sender: service :1.1 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Subscribing via proxy 1292s # Waiting for AddMatch to be processed 1292s # Step 1: adding subscription 1292s # Sender: (any) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: (any) 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Cannot subscribe via proxy: no bus name 1292s # Waiting for AddMatch to be processed 1292s # Step 2: adding subscription 1292s # Sender: (any) 1292s # Path: (any) 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Cannot subscribe via proxy: no bus name 1292s # Waiting for AddMatch to be processed 1292s # Step 3: adding subscription 1292s # Sender: service :1.1 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Subscribing via proxy 1292s # Waiting for AddMatch to be processed 1292s # Step 4: emitting signal 1292s # Sender: service 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 4 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via proxy 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 4 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 4 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via proxy 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 4 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 4 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 4 1292s # Received Finished signal from subscriber :1.0 1292s # Received Finished signal from service :1.1 1292s # Received Finished signal from service 2 :1.2 1292s # Received Finished signal from attacker :1.3 1292s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1292s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 19 /gdbus/subscribe/parallel/match_twice 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1292s # subscriber is :1.0 1292s # service is :1.1 1292s # service 2 is :1.2 1292s # attacker is :1.3 1292s # Waiting for AddMatch to be processed 1292s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1292s # Step 0: adding subscription 1292s # Sender: service :1.1 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Subscribing via proxy 1292s # Waiting for AddMatch to be processed 1292s # Step 1: emitting signal 1292s # Sender: attacker 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Step 2: emitting signal 1292s # Sender: attacker 1292s # Destination: subscriber :1.0 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Step 3: emitting signal 1292s # Sender: service 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 3 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via proxy 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 3 1292s # Received Finished signal from subscriber :1.0 1292s # Received Finished signal from service :1.1 1292s # Received Finished signal from service 2 :1.2 1292s # Received Finished signal from attacker :1.3 1292s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1292s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1292s # subscriber is :1.0 1292s # service is :1.1 1292s # service 2 is :1.2 1292s # attacker is :1.3 1292s # Waiting for AddMatch to be processed 1292s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1292s # Step 0: adding subscription 1292s # Sender: :0.this.had.better.not.exist 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Subscribing via proxy 1292s # Waiting for AddMatch to be processed 1292s # Step 1: emitting signal 1292s # Sender: attacker 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Step 2: emitting signal 1292s # Sender: attacker 1292s # Destination: subscriber :1.0 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Received Finished signal from subscriber :1.0 1292s # Received Finished signal from service :1.1 1292s # Received Finished signal from service 2 :1.2 1292s # Received Finished signal from attacker :1.3 1292s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1292s # subscriber is :1.0 1292s # service is :1.1 1292s # service 2 is :1.2 1292s # attacker is :1.3 1292s # Waiting for AddMatch to be processed 1292s # /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 1292s # Step 0: claiming bus name 1292s # Name: org.gtk.Test.AlreadyOwned 1292s # Owner: service 1292s # Step 1: adding subscription 1292s # Sender: org.gtk.Test.AlreadyOwned 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Subscribing via proxy 1292s # Waiting for AddMatch to be processed 1292s # Step 2: adding subscription 1292s # Sender: org.gtk.Test.OwnedLater 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Subscribing via proxy 1292s # Waiting for AddMatch to be processed 1292s # Step 3: emitting signal 1292s # Sender: attacker 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Step 4: emitting signal 1292s # Sender: attacker 1292s # Destination: subscriber :1.0 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Step 5: emitting signal 1292s # Sender: service 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Step 6: claiming bus name 1292s # Name: org.gtk.Test.OwnedLater 1292s # Owner: service 1292s # Step 7: emitting signal 1292s # Sender: service 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 5 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via proxy 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 5 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 7 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via proxy 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 7 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via connection 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 7 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via proxy 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 7 1292s # Received Finished signal from subscriber :1.0 1292s # Received Finished signal from service :1.1 1292s # Received Finished signal from service 2 :1.2 1292s # Received Finished signal from attacker :1.3 1292s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1292s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1292s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1292s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1292s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1292s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1292s # subscriber is :1.0 1292s # service is :1.1 1292s # service 2 is :1.2 1292s # attacker is :1.3 1292s # Waiting for AddMatch to be processed 1292s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1292s # Step 0: adding subscription 1292s # Sender: org.freedesktop.DBus 1292s # Path: /org/freedesktop/DBus 1292s # Interface: org.freedesktop.DBus 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Subscribing via proxy 1292s # Waiting for AddMatch to be processed 1292s # Step 1: emitting signal 1292s # Sender: attacker 1292s # Destination: (broadcast) 1292s # Path: /org/freedesktop/DBus 1292s # Interface: org.freedesktop.DBus 1292s # Member: NameOwnerChanged 1292s # String argument 0: would I lie to you? 1292s # Waiting for signal to reach message bus 1292s # Step 2: emitting signal 1292s # Sender: attacker 1292s # Destination: subscriber :1.0 1292s # Path: /org/freedesktop/DBus 1292s # Interface: org.freedesktop.DBus 1292s # Member: NameOwnerChanged 1292s # Waiting for signal to reach message bus 1292s # Step 3: claiming bus name 1292s # Name: org.gtk.Test.OwnedLater 1292s # Owner: service 1292s # Signal received from message bus org.freedesktop.DBus 1292s # Signal received from (unused) org.freedesktop.DBus via connection 1292s # Path: /org/freedesktop/DBus 1292s # Interface: org.freedesktop.DBus 1292s # Member: NameOwnerChanged 1292s # Signal received from message bus org.freedesktop.DBus 1292s # Signal received from (unused) org.freedesktop.DBus via proxy 1292s # Path: /org/freedesktop/DBus 1292s # Interface: org.freedesktop.DBus 1292s # Member: NameOwnerChanged 1292s # Received Finished signal from subscriber :1.0 1292s # Received Finished signal from service :1.1 1292s # Received Finished signal from service 2 :1.2 1292s # Received Finished signal from attacker :1.3 1292s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1292s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1292s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KNY312/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1292s # subscriber is :1.0 1292s # service is :1.1 1292s # service 2 is :1.2 1292s # attacker is :1.3 1292s # Waiting for AddMatch to be processed 1292s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1292s # Step 0: claiming bus name 1292s # Name: org.gtk.Test.AlreadyOwned 1292s # Owner: service 1292s # Step 1: adding subscription 1292s # Sender: org.gtk.Test.AlreadyOwned 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: (any) 1292s # String argument 0: (any) 1292s # Flags: 0 1292s # Subscribing via connection 1292s # Immediately unsubscribing 1292s # Subscribing via proxy 1292s # Waiting for AddMatch to be processed 1292s # Step 2: emitting signal 1292s # Sender: service 1292s # Destination: (broadcast) 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Waiting for signal to reach message bus 1292s # Signal received from service :1.1 1292s # Signal received from service :1.1 via proxy 1292s # Path: /org/gtk/GDBus/ExampleInterface 1292s # Interface: org.gtk.GDBus.ExampleInterface 1292s # Member: Foo 1292s # Argument 0: (not a string) 1292s # Sent in step: 2 1292s # Received Finished signal from subscriber :1.0 1292s # Received Finished signal from service :1.1 1292s # Received Finished signal from service 2 :1.2 1292s # Received Finished signal from attacker :1.3 1292s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1292s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1292s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1292s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1292s # End of parallel tests 1292s # End of subscribe tests 1292s # End of gdbus tests 1292s ok - glib/gdbus-subscribe.test 1292s # Running test: glib/debugcontroller.test 1292s TAP version 14 1292s # random seed: R02Sed93aeeab5b4b0b30bf0a6cfaf2beb42 1292s 1..3 1292s # Start of debug-controller tests 1292s # Start of dbus tests 1292s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1292s # GLib-GIO-DEBUG: Debug output enabled 1292s # GLib-GIO-DEBUG: Debug output disabled 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 1 /debug-controller/dbus/basic 1292s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok 2 /debug-controller/dbus/duplicate 1292s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1292s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1292s # End of dbus tests 1292s # End of debug-controller tests 1292s ok - glib/debugcontroller.test 1292s # Running test: glib/defaultvalue.test 1292s TAP version 14 1292s # random seed: R02Sf37394d47837190137005cd1cb3ce115 1292s 1..84 1292s # Start of Default Values tests 1292s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1292s ok 2 /Default Values/GAppLaunchContext 1292s ok 3 /Default Values/GApplicationCommandLine 1292s # skipping GApplication:is-remote 1292s ok 4 /Default Values/GApplication 1292s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1292s ok 6 /Default Values/GBindingGroup 1292s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1292s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1292s ok 9 /Default Values/GBytesIcon 1292s ok 10 /Default Values/GCancellable 1292s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1292s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1292s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1292s ok 14 /Default Values/GCredentials 1292s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1292s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1292s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1292s ok 18 /Default Values/GDBusAuthObserver 1292s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1292s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1292s ok 21 /Default Values/GDBusMessage 1292s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1292s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1292s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1292s ok 25 /Default Values/GDBusObjectProxy 1292s ok 26 /Default Values/GDBusObjectSkeleton 1292s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1292s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1292s ok 29 /Default Values/GEmblem 1292s ok 30 /Default Values/GEmblemedIcon 1292s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1292s ok 32 /Default Values/GFileInfo 1292s ok 33 /Default Values/GFileInputStream 1292s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1292s ok 35 /Default Values/GFileOutputStream 1292s ok 36 /Default Values/GFilenameCompleter 1292s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1292s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1292s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1292s ok 40 /Default Values/GInitiallyUnowned 1292s ok 41 /Default Values/GIOModule 1292s ok 42 /Default Values/GListStore 1292s ok 43 /Default Values/GMemoryInputStream 1292s ok 44 /Default Values/GMemoryOutputStream 1292s ok 45 /Default Values/GMenu 1292s ok 46 /Default Values/GMenuItem 1292s ok 47 /Default Values/GMountOperation 1292s ok 48 /Default Values/GNativeSocketAddress 1292s ok 49 /Default Values/GNetworkAddress 1292s ok 50 /Default Values/GNetworkService 1292s ok 51 /Default Values/GNotification 1292s ok 52 /Default Values/GObject 1292s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1292s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1292s # skipping GProxyAddressEnumerator:proxy-resolver 1292s ok 54 /Default Values/GProxyAddressEnumerator 1292s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1292s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1292s ok 57 /Default Values/GSignalGroup 1292s ok 58 /Default Values/GSimpleAction 1292s ok 59 /Default Values/GSimpleActionGroup 1292s ok 60 /Default Values/GSimpleAsyncResult 1292s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1292s ok 62 /Default Values/GSimplePermission 1292s ok 63 /Default Values/GSimpleProxyResolver 1292s # skipping GSocketClient:proxy-resolver 1292s ok 64 /Default Values/GSocketClient 1292s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1292s ok 66 /Default Values/GSocket # SKIP initialization failed 1292s ok 67 /Default Values/GSocketListener 1292s ok 68 /Default Values/GSocketService 1292s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1292s ok 70 /Default Values/GSubprocessLauncher 1292s # GLib-GIO-DEBUG: GTask 0xabf4fe2eafb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1292s ok 71 /Default Values/GTask 1292s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1292s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1292s ok 74 /Default Values/GTestDBus 1292s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1292s ok 76 /Default Values/GThreadedSocketService 1292s ok 77 /Default Values/GTlsInteraction 1292s ok 78 /Default Values/GTlsPassword 1292s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1292s ok 80 /Default Values/GUnixFDList 1292s ok 81 /Default Values/GVfs 1292s ok 82 /Default Values/GVolumeMonitor 1292s ok 83 /Default Values/GZlibCompressor 1292s ok 84 /Default Values/GZlibDecompressor 1292s # End of Default Values tests 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok - glib/defaultvalue.test 1292s # Running test: glib/tls-interaction.test 1292s TAP version 14 1292s # random seed: R02S1246edbe144c09050e60a3a5d36d8519 1292s 1..42 1292s # Start of tls-interaction tests 1292s # Start of ask-password tests 1292s # Start of invoke-with-loop tests 1292s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1292s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1292s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1292s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1292s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1292s # End of invoke-with-loop tests 1292s # Start of invoke-without-loop tests 1292s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1292s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1292s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1292s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1292s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1292s # End of invoke-without-loop tests 1292s # Start of invoke-in-loop tests 1292s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1292s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1292s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1292s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1292s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1292s # End of invoke-in-loop tests 1292s # Start of sync tests 1292s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1292s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1292s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1292s # End of sync tests 1292s # Start of async tests 1292s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1292s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1292s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1292s # End of async tests 1292s # End of ask-password tests 1292s # Start of request-certificate tests 1292s # Start of invoke-with-loop tests 1292s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1292s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1292s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1292s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1292s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1292s # End of invoke-with-loop tests 1292s # Start of invoke-without-loop tests 1292s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1292s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1292s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1292s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1292s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1292s # End of invoke-without-loop tests 1292s # Start of invoke-in-loop tests 1292s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1292s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1292s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1292s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1292s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1292s # End of invoke-in-loop tests 1292s # Start of sync tests 1292s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1292s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1292s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1292s # End of sync tests 1292s # Start of async tests 1292s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1292s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1292s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1292s # End of async tests 1292s # End of request-certificate tests 1292s # End of tls-interaction tests 1292s ok - glib/tls-interaction.test 1292s # Running test: glib/union-info.test 1292s TAP version 14 1292s # random seed: R02S424b551571ed35fd7165e29f82554e90 1292s 1..2 1292s # Start of union-info tests 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_D4ZA22/union-info/basic/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_D4ZA22/union-info/basic/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_D4ZA22/union-info/basic/.dirs/system-config1:/tmp/test_union-info_D4ZA22/union-info/basic/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_D4ZA22/union-info/basic/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_D4ZA22/union-info/basic/.dirs/system-data1:/tmp/test_union-info_D4ZA22/union-info/basic/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_D4ZA22/union-info/basic/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_D4ZA22/union-info/basic/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_D4ZA22/union-info/basic/.dirs/runtime 1292s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1292s # /union-info/basic summary: Test basic properties of GIUnionInfo 1292s ok 1 /union-info/basic 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_D4ZA22/union-info/methods/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_D4ZA22/union-info/methods/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_D4ZA22/union-info/methods/.dirs/system-config1:/tmp/test_union-info_D4ZA22/union-info/methods/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_D4ZA22/union-info/methods/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_D4ZA22/union-info/methods/.dirs/system-data1:/tmp/test_union-info_D4ZA22/union-info/methods/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_D4ZA22/union-info/methods/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_D4ZA22/union-info/methods/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_D4ZA22/union-info/methods/.dirs/runtime 1292s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1292s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1292s ok 2 /union-info/methods 1292s # End of union-info tests 1292s ok - glib/union-info.test 1292s # Running test: glib/appmonitor.test 1292s TAP version 14 1292s # random seed: R02Se5e209bfa409307b79ac3ef345e6e8b0 1292s 1..1 1292s # Start of monitor tests 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_H5KD22/monitor/app/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_H5KD22/monitor/app/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_H5KD22/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_H5KD22/monitor/app/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_H5KD22/monitor/app/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_H5KD22/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_H5KD22/monitor/app/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_H5KD22/monitor/app/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_H5KD22/monitor/app/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_H5KD22/monitor/app/.dirs/runtime 1292s # Using data directory: /tmp/test_appmonitor_H5KD22/monitor/app/.dirs/data 1292s ok 1 /monitor/app 1292s # End of monitor tests 1292s ok - glib/appmonitor.test 1292s # Running test: glib/module-test-plugin.test 1292s TAP version 14 1292s # random seed: R02S572347f8be02e12ba917541811654cba 1292s 1..3 1292s # Start of module tests 1292s ok 1 /module/basics 1292s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1292s ok 2 /module/invalid-libtool-archive 1292s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1292s ok 3 /module/local-binding 1292s # End of module tests 1292s ok - glib/module-test-plugin.test 1292s # Running test: glib/glistmodel.test 1292s TAP version 14 1292s # random seed: R02Se22a475b1aefa318598dc51e513fd2f4 1292s 1..18 1292s # Start of glistmodel tests 1292s # Start of store tests 1292s ok 1 /glistmodel/store/properties 1292s ok 2 /glistmodel/store/non-gobjects 1292s ok 3 /glistmodel/store/boundaries 1292s ok 4 /glistmodel/store/refcounts 1292s ok 5 /glistmodel/store/sorted 1292s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1292s ok 6 /glistmodel/store/splice-replace-middle 1292s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1292s ok 7 /glistmodel/store/splice-replace-all 1292s ok 8 /glistmodel/store/splice-noop 1292s ok 9 /glistmodel/store/splice-remove-multiple 1292s ok 10 /glistmodel/store/splice-add-multiple 1292s ok 11 /glistmodel/store/splice-wrong-type 1292s ok 12 /glistmodel/store/item-type 1292s ok 13 /glistmodel/store/remove-all 1292s ok 14 /glistmodel/store/sort 1292s ok 15 /glistmodel/store/get-item-cache 1292s ok 16 /glistmodel/store/items-changed 1292s ok 17 /glistmodel/store/past-end 1292s ok 18 /glistmodel/store/find 1292s # End of store tests 1292s # End of glistmodel tests 1292s ok - glib/glistmodel.test 1292s # Running test: glib/gdbus-exit-on-close.test 1292s TAP version 14 1292s # random seed: R02Sb7296cff4c07a7d24d58875b95799191 1292s 1..4 1292s # Start of gdbus tests 1292s # Start of exit-on-close tests 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/default/.dirs/runtime 1292s ok 1 /gdbus/exit-on-close/default 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/true/.dirs/runtime 1292s ok 2 /gdbus/exit-on-close/true 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/false/.dirs/runtime 1292s ok 3 /gdbus/exit-on-close/false 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_1GZC22/gdbus/exit-on-close/we-close/.dirs/runtime 1292s ok 4 /gdbus/exit-on-close/we-close 1292s # Start of default tests 1292s # End of default tests 1292s # Start of true tests 1292s # End of true tests 1292s # Start of false tests 1292s # End of false tests 1292s # Start of we-close tests 1292s # End of we-close tests 1292s # End of exit-on-close tests 1292s # End of gdbus tests 1292s ok - glib/gdbus-exit-on-close.test 1292s # Running test: glib/gdbus-method-invocation.test 1292s TAP version 14 1292s # random seed: R02S1b48e234461944b1dc17c35b1ea95133 1292s 1..1 1292s # Start of gdbus tests 1292s # Start of method-invocation tests 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_MTHJ22/gdbus/method-invocation/return/.dirs/runtime 1292s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1292s # Calling org.freedesktop.DBus.Properties.Get 1292s # Calling org.freedesktop.DBus.Properties.Get 1292s # Calling org.freedesktop.DBus.Properties.Get 1292s # Calling org.freedesktop.DBus.Properties.Set 1292s # Calling org.freedesktop.DBus.Properties.GetAll 1292s # Calling org.example.Foo.WrongReturnType 1292s # Calling org.example.Foo.GetFDs 1292s # Calling org.example.Foo.GetFDs 1292s # Calling org.example.Foo.ReturnError 1292s # Calling org.example.Foo.CloseBeforeReturning 1292s ok 1 /gdbus/method-invocation/return 1292s # End of method-invocation tests 1292s # End of gdbus tests 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1292s ok - glib/gdbus-method-invocation.test 1292s # Running test: glib/unicode.test 1292s TAP version 14 1292s # random seed: R02S2796ebb3fa2a61b9feb7c53a7ccfe8d8 1292s 1..39 1292s # Start of unicode tests 1292s ok 1 /unicode/alnum 1292s ok 2 /unicode/alpha 1292s ok 3 /unicode/break-type 1292s ok 4 /unicode/canonical-decomposition 1292s ok 5 /unicode/casefold 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s # Cannot set locale to lt_LT, skipping 1292s ok 6 /unicode/casemap_and_casefold 1292s ok 7 /unicode/cases 1292s ok 8 /unicode/character-type 1292s ok 9 /unicode/cntrl 1292s ok 10 /unicode/combining-class 1292s # Composing U+000041 and U+000042; expecting U+000000 1292s # Composing U+000041 and U+000000; expecting U+000000 1292s # Composing U+000066 and U+000069; expecting U+000000 1292s # Composing U+000308 and U+000301; expecting U+000000 1292s # Composing U+000f71 and U+000f72; expecting U+000000 1292s # Composing U+00212b and U+000000; expecting U+000000 1292s # Composing U+0000c5 and U+000000; expecting U+000000 1292s # Composing U+002126 and U+000000; expecting U+000000 1292s # Composing U+0003a9 and U+000000; expecting U+000000 1292s # Composing U+000041 and U+00030a; expecting U+0000c5 1292s # Composing U+00006f and U+000302; expecting U+0000f4 1292s # Composing U+001e63 and U+000307; expecting U+001e69 1292s # Composing U+000073 and U+000323; expecting U+001e63 1292s # Composing U+000064 and U+000307; expecting U+001e0b 1292s # Composing U+000064 and U+000323; expecting U+001e0d 1292s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1292s # Composing U+001111 and U+001171; expecting U+00d4cc 1292s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1292s # Composing U+00110e and U+001173; expecting U+00ce20 1292s # Composing U+001100 and U+001160; expecting U+000000 1292s # Composing U+001100 and U+001177; expecting U+000000 1292s # Composing U+00abff and U+0011b6; expecting U+000000 1292s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1292s # Composing U+00ac01 and U+0011b6; expecting U+000000 1292s # Composing U+00d4cc and U+0011a6; expecting U+000000 1292s # Composing U+00d4cc and U+0011c4; expecting U+000000 1292s # Composing U+01611e and U+01611e; expecting U+016121 1292s # Composing U+01611e and U+01611f; expecting U+016123 1292s # Composing U+0000f6 and U+000304; expecting U+00022b 1292s # Composing U+000b47 and U+000b57; expecting U+000b4c 1292s # Composing U+0000a0 and U+000b57; expecting U+000000 1292s # Composing U+016e00 and U+00030a; expecting U+000000 1292s # Composing U+00212b and U+016e00; expecting U+000000 1292s # Composing U+001e63 and U+000306; expecting U+000000 1292s # Composing U+001e63 and U+000304; expecting U+000000 1292s # Composing U+001e63 and U+000b57; expecting U+000000 1292s # Composing U+001e63 and U+000000; expecting U+000000 1292s # Composing U+001e63 and U+0113c2; expecting U+000000 1292s # Composing U+001f01 and U+0113c2; expecting U+000000 1292s # Composing U+00006e and U+000302; expecting U+000000 1292s # Composing U+001e63 and U+01611f; expecting U+000000 1292s # Composing U+01138e and U+0113b8; expecting U+000000 1292s # Composing U+01611e and U+000000; expecting U+000000 1292s # Composing U+000000 and U+01611f; expecting U+000000 1292s # Composing U+011390 and U+0113c2; expecting U+000000 1292s ok 11 /unicode/compose 1292s ok 12 /unicode/decompose 1292s ok 13 /unicode/decompose-tail 1292s ok 14 /unicode/defined 1292s ok 15 /unicode/digit 1292s ok 16 /unicode/digit-value 1292s # Fully decomposing U+000041; expecting 1 codepoints 1292s # Fully decomposing U+00fb01; expecting 1 codepoints 1292s # Fully decomposing U+00212b; expecting 2 codepoints 1292s # Fully decomposing U+002126; expecting 1 codepoints 1292s # Fully decomposing U+000344; expecting 2 codepoints 1292s # Fully decomposing U+000f73; expecting 2 codepoints 1292s # Fully decomposing U+0000c5; expecting 2 codepoints 1292s # Fully decomposing U+0000f4; expecting 2 codepoints 1292s # Fully decomposing U+001e69; expecting 3 codepoints 1292s # Fully decomposing U+001e63; expecting 2 codepoints 1292s # Fully decomposing U+001e0b; expecting 2 codepoints 1292s # Fully decomposing U+001e0d; expecting 2 codepoints 1292s # Fully decomposing U+00d4db; expecting 3 codepoints 1292s # Fully decomposing U+00d4cc; expecting 2 codepoints 1292s # Fully decomposing U+00ce31; expecting 3 codepoints 1292s # Fully decomposing U+00ce20; expecting 2 codepoints 1292s ok 17 /unicode/fully-decompose-canonical 1292s ok 18 /unicode/fully-decompose-len 1292s ok 19 /unicode/normalization 1292s ok 20 /unicode/graph 1292s # Testing script Zyyy (code 1517910393) 1292s # Testing script Zinh (code 1516858984) 1292s # Testing script Zmth (code 1517122664) 1292s # Testing script Arab (code 1098015074) 1292s # Testing script Armn (code 1098018158) 1292s # Testing script Beng (code 1113943655) 1292s # Testing script Bopo (code 1114599535) 1292s # Testing script Cher (code 1130915186) 1292s # Testing script Copt (code 1131376756) 1292s # Testing script Cyrl (code 1132032620) 1292s # Testing script Dsrt (code 1148416628) 1292s # Testing script Deva (code 1147500129) 1292s # Testing script Ethi (code 1165256809) 1292s # Testing script Geor (code 1197830002) 1292s # Testing script Goth (code 1198486632) 1292s # Testing script Grek (code 1198679403) 1292s # Testing script Gujr (code 1198877298) 1292s # Testing script Guru (code 1198879349) 1292s # Testing script Hani (code 1214344809) 1292s # Testing script Hang (code 1214344807) 1292s # Testing script Hebr (code 1214603890) 1292s # Testing script Hira (code 1214870113) 1292s # Testing script Knda (code 1265525857) 1292s # Testing script Kana (code 1264676449) 1292s # Testing script Khmr (code 1265134962) 1292s # Testing script Laoo (code 1281453935) 1292s # Testing script Latn (code 1281455214) 1292s # Testing script Mlym (code 1298954605) 1292s # Testing script Mong (code 1299148391) 1292s # Testing script Mymr (code 1299803506) 1292s # Testing script Ogam (code 1332175213) 1292s # Testing script Ital (code 1232363884) 1292s # Testing script Orya (code 1332902241) 1292s # Testing script Runr (code 1383427698) 1292s # Testing script Sinh (code 1399418472) 1292s # Testing script Syrc (code 1400468067) 1292s # Testing script Taml (code 1415671148) 1292s # Testing script Telu (code 1415933045) 1292s # Testing script Thaa (code 1416126817) 1292s # Testing script Thai (code 1416126825) 1292s # Testing script Tibt (code 1416192628) 1292s # Testing script Cans (code 1130458739) 1292s # Testing script Yiii (code 1500080489) 1292s # Testing script Tglg (code 1416064103) 1292s # Testing script Hano (code 1214344815) 1292s # Testing script Buhd (code 1114990692) 1292s # Testing script Tagb (code 1415669602) 1292s # Testing script Brai (code 1114792297) 1292s # Testing script Cprt (code 1131442804) 1292s # Testing script Limb (code 1281977698) 1292s # Testing script Osma (code 1332964705) 1292s # Testing script Shaw (code 1399349623) 1292s # Testing script Linb (code 1281977954) 1292s # Testing script Tale (code 1415670885) 1292s # Testing script Ugar (code 1432838514) 1292s # Testing script Talu (code 1415670901) 1292s # Testing script Bugi (code 1114990441) 1292s # Testing script Glag (code 1198285159) 1292s # Testing script Tfng (code 1415999079) 1292s # Testing script Sylo (code 1400466543) 1292s # Testing script Xpeo (code 1483761007) 1292s # Testing script Khar (code 1265131890) 1292s # Testing script Zzzz (code 1517976186) 1292s # Testing script Bali (code 1113681001) 1292s # Testing script Xsux (code 1483961720) 1292s # Testing script Phnx (code 1349021304) 1292s # Testing script Phag (code 1349017959) 1292s # Testing script Nkoo (code 1315663727) 1292s # Testing script Kali (code 1264675945) 1292s # Testing script Lepc (code 1281716323) 1292s # Testing script Rjng (code 1382706791) 1292s # Testing script Sund (code 1400204900) 1292s # Testing script Saur (code 1398895986) 1292s # Testing script Cham (code 1130914157) 1292s # Testing script Olck (code 1332503403) 1292s # Testing script Vaii (code 1449224553) 1292s # Testing script Cari (code 1130459753) 1292s # Testing script Lyci (code 1283023721) 1292s # Testing script Lydi (code 1283023977) 1292s # Testing script Avst (code 1098281844) 1292s # Testing script Bamu (code 1113681269) 1292s # Testing script Egyp (code 1164409200) 1292s # Testing script Armi (code 1098018153) 1292s # Testing script Phli (code 1349020777) 1292s # Testing script Prti (code 1349678185) 1292s # Testing script Java (code 1247901281) 1292s # Testing script Kthi (code 1265920105) 1292s # Testing script Lisu (code 1281979253) 1292s # Testing script Mtei (code 1299473769) 1292s # Testing script Sarb (code 1398895202) 1292s # Testing script Orkh (code 1332898664) 1292s # Testing script Samr (code 1398893938) 1292s # Testing script Lana (code 1281453665) 1292s # Testing script Tavt (code 1415673460) 1292s # Testing script Batk (code 1113683051) 1292s # Testing script Brah (code 1114792296) 1292s # Testing script Mand (code 1298230884) 1292s # Testing script Cakm (code 1130457965) 1292s # Testing script Merc (code 1298494051) 1292s # Testing script Mero (code 1298494063) 1292s # Testing script Plrd (code 1349284452) 1292s # Testing script Shrd (code 1399353956) 1292s # Testing script Sora (code 1399812705) 1292s # Testing script Takr (code 1415670642) 1292s # Testing script Bass (code 1113682803) 1292s # Testing script Aghb (code 1097295970) 1292s # Testing script Dupl (code 1148547180) 1292s # Testing script Elba (code 1164730977) 1292s # Testing script Gran (code 1198678382) 1292s # Testing script Khoj (code 1265135466) 1292s # Testing script Sind (code 1399418468) 1292s # Testing script Lina (code 1281977953) 1292s # Testing script Mahj (code 1298229354) 1292s # Testing script Mani (code 1298230889) 1292s # Testing script Mend (code 1298493028) 1292s # Testing script Modi (code 1299145833) 1292s # Testing script Mroo (code 1299345263) 1292s # Testing script Nbat (code 1315070324) 1292s # Testing script Narb (code 1315009122) 1292s # Testing script Perm (code 1348825709) 1292s # Testing script Hmng (code 1215131239) 1292s # Testing script Palm (code 1348562029) 1292s # Testing script Pauc (code 1348564323) 1292s # Testing script Phlp (code 1349020784) 1292s # Testing script Sidd (code 1399415908) 1292s # Testing script Tirh (code 1416196712) 1292s # Testing script Wara (code 1466004065) 1292s # Testing script Ahom (code 1097363309) 1292s # Testing script Hluw (code 1215067511) 1292s # Testing script Hatr (code 1214346354) 1292s # Testing script Mult (code 1299541108) 1292s # Testing script Hung (code 1215655527) 1292s # Testing script Sgnw (code 1399287415) 1292s # Testing script Adlm (code 1097100397) 1292s # Testing script Bhks (code 1114139507) 1292s # Testing script Marc (code 1298231907) 1292s # Testing script Newa (code 1315272545) 1292s # Testing script Osge (code 1332963173) 1292s # Testing script Tang (code 1415671399) 1292s # Testing script Gonm (code 1198485101) 1292s # Testing script Nshu (code 1316186229) 1292s # Testing script Soyo (code 1399814511) 1292s # Testing script Zanb (code 1516334690) 1292s # Testing script Dogr (code 1148151666) 1292s # Testing script Gong (code 1198485095) 1292s # Testing script Rohg (code 1383032935) 1292s # Testing script Maka (code 1298230113) 1292s # Testing script Medf (code 1298490470) 1292s # Testing script Sogo (code 1399809903) 1292s # Testing script Sogd (code 1399809892) 1292s # Testing script Elym (code 1164736877) 1292s # Testing script Nand (code 1315008100) 1292s # Testing script Hmnp (code 1215131248) 1292s # Testing script Wcho (code 1466132591) 1292s # Testing script Chrs (code 1130918515) 1292s # Testing script Diak (code 1147756907) 1292s # Testing script Kits (code 1265202291) 1292s # Testing script Yezi (code 1499822697) 1292s # Testing script Cpmn (code 1131441518) 1292s # Testing script Ougr (code 1333094258) 1292s # Testing script Tnsa (code 1416524641) 1292s # Testing script Toto (code 1416590447) 1292s # Testing script Vith (code 1449751656) 1292s # Testing script Kawi (code 1264678761) 1292s # Testing script Nagm (code 1315006317) 1292s # Testing script Todr (code 1416586354) 1292s # Testing script Gara (code 1197568609) 1292s # Testing script Tutg (code 1416983655) 1292s # Testing script Sunu (code 1400204917) 1292s # Testing script Gukh (code 1198877544) 1292s # Testing script Krai (code 1265787241) 1292s # Testing script Onao (code 1332633967) 1292s ok 21 /unicode/iso15924 1292s ok 22 /unicode/lower 1292s ok 23 /unicode/mark 1292s ok 24 /unicode/mirror 1292s ok 25 /unicode/print 1292s ok 26 /unicode/punctuation 1292s ok 27 /unicode/script 1292s ok 28 /unicode/space 1292s ok 29 /unicode/strdown 1292s ok 30 /unicode/strup 1292s ok 31 /unicode/turkish-strupdown 1292s ok 32 /unicode/title 1292s ok 33 /unicode/upper 1292s ok 34 /unicode/validate 1292s ok 35 /unicode/wide 1292s ok 36 /unicode/xdigit 1292s ok 37 /unicode/xdigit-value 1292s ok 38 /unicode/zero-width 1292s ok 39 /unicode/normalize 1292s # End of unicode tests 1292s ok - glib/unicode.test 1292s # Running test: glib/portal-support-flatpak-gsettings-only.test 1292s TAP version 14 1292s # random seed: R02Seb864ad25f068abb4066d37834405847 1292s 1..1 1292s # Start of portal-support tests 1292s # Start of flatpak tests 1292s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/home 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/cache 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/system-config2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/config 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/system-data2 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/data 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/state 1292s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/runtime 1292s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_9RZK22/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1292s ok 1 /portal-support/flatpak/gsettings 1292s # End of flatpak tests 1292s # End of portal-support tests 1292s ok - glib/portal-support-flatpak-gsettings-only.test 1292s # Running test: glib/simple-proxy.test 1292s TAP version 14 1292s # random seed: R02S659f1de4177048ae88106855239ed08f 1292s 1..3 1292s # Start of static-proxy tests 1292s ok 1 /static-proxy/uri 1292s ok 2 /static-proxy/socks 1292s ok 3 /static-proxy/ignore 1292s # End of static-proxy tests 1292s ok - glib/simple-proxy.test 1292s # Running test: glib/param.test 1292s TAP version 14 1292s # random seed: R02S50c330d38457bdfc6dd91a1d6c5eeb3d 1292s 1..32 1292s # Start of param tests 1292s ok 1 /param/value 1292s ok 2 /param/strings 1292s ok 3 /param/qdata 1292s ok 4 /param/validate 1292s ok 5 /param/convert 1292s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1292s ok 7 /param/default 1292s ok 8 /param/is-valid-name 1292s # Start of invalid-name tests 1292s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1292s ok 9 /param/invalid-name/colon 1292s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1292s ok 10 /param/invalid-name/first-char 1292s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1292s ok 11 /param/invalid-name/empty 1292s # End of invalid-name tests 1292s # Start of implement tests 1292s # Start of subprocess tests 1292s # End of subprocess tests 1292s # End of implement tests 1292s # End of param tests 1292s # Start of value tests 1292s ok 12 /value/transform 1292s # End of value tests 1292s # Start of paramspec tests 1292s ok 13 /paramspec/char 1292s ok 14 /paramspec/uchar 1292s ok 15 /paramspec/int 1292s ok 16 /paramspec/uint 1292s ok 17 /paramspec/long 1292s ok 18 /paramspec/ulong 1292s ok 19 /paramspec/int64 1292s ok 20 /paramspec/uint64 1292s ok 21 /paramspec/float 1292s ok 22 /paramspec/double 1292s ok 23 /paramspec/unichar 1292s ok 24 /paramspec/param 1292s ok 25 /paramspec/null-param 1292s ok 26 /paramspec/string 1292s ok 27 /paramspec/override 1292s ok 28 /paramspec/gtype 1292s ok 29 /paramspec/variant 1292s ok 30 /paramspec/custom 1292s ok 31 /paramspec/pool 1292s # Start of variant tests 1292s ok 32 /paramspec/variant/cmp 1292s # End of variant tests 1292s # End of paramspec tests 1292s ok - glib/param.test 1292s # Running test: glib/cxx-20.test 1292s TAP version 14 1292s # random seed: R02Sdd456bfedfcc4d8761e530ff8de9eb52 1292s 1..2 1292s # Start of gtask tests 1292s # 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. 1292s ok 1 /gtask/name 1292s # Start of name tests 1292s # 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. 1292s ok 2 /gtask/name/macro-wrapper 1292s # End of name tests 1292s # End of gtask tests 1292s ok - glib/cxx-20.test 1292s # Running test: glib/cxx-14.test 1292s TAP version 14 1292s # random seed: R02S5a0d2cff428440a867cd61674890f6c7 1292s 1..2 1292s # Start of gtask tests 1292s # 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. 1292s ok 1 /gtask/name 1292s # Start of name tests 1292s # 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. 1292s ok 2 /gtask/name/macro-wrapper 1292s # End of name tests 1292s # End of gtask tests 1292s ok - glib/cxx-14.test 1292s # Running test: glib/utils-c-11.test 1292s TAP version 14 1292s # random seed: R02S6da43056df2dd0ee09ecdfe73dd796eb 1292s 1..41 1292s # Start of utils tests 1292s ok 1 /utils/language-names 1292s ok 2 /utils/locale-variants 1292s ok 3 /utils/version 1292s ok 4 /utils/appname 1292s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1292s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1292s ok 5 /utils/prgname-thread-safety 1292s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1292s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1292s ok 6 /utils/tmpdir 1292s ok 7 /utils/basic_bits 1292s ok 8 /utils/bits 1292s ok 9 /utils/swap 1292s ok 10 /utils/find-program 1292s ok 11 /utils/find-program-for-path 1292s ok 12 /utils/debug 1292s ok 13 /utils/codeset 1292s ok 14 /utils/codeset2 1292s ok 15 /utils/console-charset 1292s ok 16 /utils/gettext 1292s ok 17 /utils/username 1292s ok 18 /utils/realname 1292s ok 19 /utils/hostname 1292s ok 20 /utils/xdgdirs 1292s ok 21 /utils/specialdir 1292s # NAME: Ubuntu 1292s ok 22 /utils/os-info 1292s ok 23 /utils/clear-pointer 1292s ok 24 /utils/clear-pointer-cast 1292s ok 25 /utils/take-pointer 1292s ok 26 /utils/clear-source 1292s ok 27 /utils/misc-mem 1292s # /utils/aligned-mem summary: Aligned memory allocator 1292s # Alignment must not be zero 1292s # Alignment must be a power of two 1292s # Alignment must be a multiple of sizeof(void*) 1292s ok 28 /utils/aligned-mem 1292s # /utils/free-sized summary: Check that g_free_sized() works 1292s ok 29 /utils/free-sized 1292s ok 30 /utils/nullify 1292s ok 31 /utils/atexit 1292s ok 32 /utils/check-setuid 1292s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1292s ok 33 /utils/int-limits 1292s ok 34 /utils/clear-list 1292s ok 35 /utils/clear-slist 1292s ok 36 /utils/steal-handle-id 1292s # Start of specialdir tests 1292s ok 37 /utils/specialdir/desktop 1292s # End of specialdir tests 1292s # Start of clear-pointer tests 1292s ok 38 /utils/clear-pointer/side-effects 1292s # End of clear-pointer tests 1292s # Start of aligned-mem tests 1292s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1292s ok 39 /utils/aligned-mem/alignment 1292s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1292s ok 40 /utils/aligned-mem/zeroed 1292s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1292s ok 41 /utils/aligned-mem/free-sized 1292s # Start of subprocess tests 1292s # End of subprocess tests 1292s # End of aligned-mem tests 1292s # End of utils tests 1292s ok - glib/utils-c-11.test 1292s # SUMMARY: total=321; passed=320; skipped=1; failed=0; user=182.7s; system=69.8s; maxrss=149932 1293s autopkgtest [21:59:41]: test installed-tests: -----------------------] 1294s autopkgtest [21:59:42]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1294s installed-tests PASS 1294s autopkgtest [21:59:42]: test closure-refcount: preparing testbed 1294s Reading package lists... 1295s Building dependency tree... 1295s Reading state information... 1295s Starting pkgProblemResolver with broken count: 0 1295s Starting 2 pkgProblemResolver with broken count: 0 1295s Done 1296s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1297s autopkgtest [21:59:45]: test closure-refcount: [----------------------- 1297s Running test: glib/closure-refcount.test 1297s TAP version 14 1297s # random seed: R02Sf130c48161a6028f5499b033a26d2d0c 1297s 1..1 1297s # Start of closure tests 1297s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1297s # End of closure tests 1297s PASS: glib/closure-refcount.test 1297s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3280 1297s autopkgtest [21:59:45]: test closure-refcount: -----------------------] 1297s closure-refcount PASS 1297s autopkgtest [21:59:45]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1298s autopkgtest [21:59:46]: test debugcontroller: preparing testbed 1298s Reading package lists... 1298s Building dependency tree... 1298s Reading state information... 1299s Starting pkgProblemResolver with broken count: 0 1299s Starting 2 pkgProblemResolver with broken count: 0 1299s Done 1300s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1300s autopkgtest [21:59:48]: test debugcontroller: [----------------------- 1301s Running test: glib/debugcontroller.test 1301s TAP version 14 1301s # random seed: R02S951114503f82fb579a3d460d4dafa215 1301s 1..3 1301s # Start of debug-controller tests 1301s # Start of dbus tests 1301s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1301s # GLib-GIO-DEBUG: Debug output enabled 1301s # GLib-GIO-DEBUG: Debug output disabled 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s ok 1 /debug-controller/dbus/basic 1301s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s ok 2 /debug-controller/dbus/duplicate 1301s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1301s # GLib-GIO-DEBUG: Debug output enabled 1301s # GLib-GIO-DEBUG: Debug output disabled 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1301s ok 3 /debug-controller/dbus/properties 1301s # End of dbus tests 1301s # End of debug-controller tests 1301s PASS: glib/debugcontroller.test 1301s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5980 1301s autopkgtest [21:59:49]: test debugcontroller: -----------------------] 1301s autopkgtest [21:59:49]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1301s debugcontroller PASS 1302s autopkgtest [21:59:50]: test gdbus-server-auth: preparing testbed 1302s Reading package lists... 1302s Building dependency tree... 1302s Reading state information... 1303s Starting pkgProblemResolver with broken count: 0 1303s Starting 2 pkgProblemResolver with broken count: 0 1303s Done 1304s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1304s autopkgtest [21:59:52]: test gdbus-server-auth: [----------------------- 1305s Running test: glib/gdbus-server-auth.test 1305s TAP version 14 1305s # random seed: R02Sdab4dea0108e51373ea9705137e2eaa4 1305s 1..9 1305s # Start of gdbus tests 1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/home 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/cache 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/system-config2 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/config 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/system-data2 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/data 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/state 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/.dirs/runtime 1305s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-YLRC22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1305s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-YLRC22/dbus-9sCeibfr 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15742 1305s ok 1 /gdbus/server-auth 1305s # Start of server-auth tests 1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/home 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/cache 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/system-config2 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/config 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/system-data2 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/data 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/state 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/abstract/.dirs/runtime 1305s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-HTJC22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1305s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-HTJC22/dbus-EL2YBlf5 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15742 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1305s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15742 1305s ok 2 /gdbus/server-auth/abstract 1305s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/home 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/cache 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/system-config2 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/config 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/system-data2 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/data 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/state 1305s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/tcp/.dirs/runtime 1305s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1305s # Connectable address: tcp:host=127.0.0.1,port=34051 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1305s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1305s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1305s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1305s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1305s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1305s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1306s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1306s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1306s ok 3 /gdbus/server-auth/tcp 1306s # slow test /gdbus/server-auth/tcp executed in 0.86 secs 1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/home 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/cache 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/system-config2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/config 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/system-data2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/data 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/state 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/.dirs/runtime 1306s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-JMQA22 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1306s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-JMQA22/dbus-4mPnPVtI 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15742 1306s ok 4 /gdbus/server-auth/anonymous 1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/home 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/cache 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/system-config2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/config 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/system-data2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/data 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/state 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/.dirs/runtime 1306s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-UD3B22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1306s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-UD3B22/dbus-SODCTp1T 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15742 1306s ok 5 /gdbus/server-auth/external 1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/home 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/cache 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/system-config2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/config 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/system-data2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/data 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/state 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/.dirs/runtime 1306s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-BDYB22 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1306s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-BDYB22/dbus-RMue3sNj 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15742 1306s ok 6 /gdbus/server-auth/sha1 1306s # Start of anonymous tests 1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/home 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/cache 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/config 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/data 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/state 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1306s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1306s # Connectable address: tcp:host=127.0.0.1,port=37485 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1306s ok 7 /gdbus/server-auth/anonymous/tcp 1306s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 1306s # End of anonymous tests 1306s # Start of external tests 1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/home 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/cache 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/config 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/data 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/state 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/external/require-same-user/.dirs/runtime 1306s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-UG7612 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1306s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3TRC22/gdbus-server-auth-UG7612/dbus-SpknW6bV 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15742 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1306s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15742,uid=1000,gid=1000 1306s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15742 1306s ok 8 /gdbus/server-auth/external/require-same-user 1306s # End of external tests 1306s # Start of sha1 tests 1306s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/home 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/cache 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/config 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/data 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/state 1306s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3TRC22/gdbus/server-auth/sha1/tcp/.dirs/runtime 1306s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1306s # Connectable address: tcp:host=127.0.0.1,port=38641 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1306s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1306s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1306s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1306s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1306s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1307s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1307s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1307s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1307s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1307s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1307s ok 9 /gdbus/server-auth/sha1/tcp 1307s # slow test /gdbus/server-auth/sha1/tcp executed in 0.91 secs 1307s # End of sha1 tests 1307s # End of server-auth tests 1307s # End of gdbus tests 1307s PASS: glib/gdbus-server-auth.test 1307s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.2s; maxrss=8036 1308s autopkgtest [21:59:56]: test gdbus-server-auth: -----------------------] 1308s gdbus-server-auth PASS 1308s autopkgtest [21:59:56]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1309s autopkgtest [21:59:57]: test gdbus-threading: preparing testbed 1309s Reading package lists... 1309s Building dependency tree... 1309s Reading state information... 1310s Starting pkgProblemResolver with broken count: 0 1310s Starting 2 pkgProblemResolver with broken count: 0 1310s Done 1310s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1311s autopkgtest [21:59:59]: test gdbus-threading: [----------------------- 1311s Running test: glib/gdbus-threading.test 1311s TAP version 14 1311s # random seed: R02S5460103911d7e75144f5b5bfed5f0d24 1311s 1..3 1311s # Start of gdbus tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_Q82712/gdbus/delivery-in-thread/.dirs/runtime 1311s ok 1 /gdbus/delivery-in-thread 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_Q82712/gdbus/method-calls-in-thread/.dirs/runtime 1312s ok 2 /gdbus/method-calls-in-thread 1312s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 1312s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/home 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/cache 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/system-config2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/config 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/system-data2 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/data 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/state 1312s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_Q82712/gdbus/threaded-singleton/.dirs/runtime 1313s # GLib-GIO-DEBUG: refcount of 0xff9040002870 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1313s ok 3 /gdbus/threaded-singleton 1313s # slow test /gdbus/threaded-singleton executed in 0.95 secs 1313s # End of gdbus tests 1313s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1313s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1313s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1313s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1313s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1313s PASS: glib/gdbus-threading.test 1313s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.3s; maxrss=5884 1314s autopkgtest [22:00:02]: test gdbus-threading: -----------------------] 1314s autopkgtest [22:00:02]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1314s gdbus-threading PASS 1314s autopkgtest [22:00:02]: test gmenumodel: preparing testbed 1315s Reading package lists... 1315s Building dependency tree... 1315s Reading state information... 1315s Starting pkgProblemResolver with broken count: 0 1315s Starting 2 pkgProblemResolver with broken count: 0 1315s Done 1316s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1317s autopkgtest [22:00:05]: test gmenumodel: [----------------------- 1317s Running test: glib/gmenumodel.test 1317s TAP version 14 1317s # random seed: R02S9d4b67e9bbf44abc5cdd6b099c7fe8ee 1317s 1..15 1317s # Start of gmenu tests 1318s ok 1 /gmenu/equality 1318s # slow test /gmenu/equality executed in 0.60 secs 1319s ok 2 /gmenu/random 1319s # slow test /gmenu/random executed in 0.80 secs 1319s ok 3 /gmenu/attributes 1319s ok 4 /gmenu/links 1319s ok 5 /gmenu/mutable 1319s ok 6 /gmenu/convenience 1319s ok 7 /gmenu/menuitem 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1319s ok 8 /gmenu/input-validation 1319s # Start of dbus tests 1320s ok 9 /gmenu/dbus/roundtrip 1320s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1320s ok 10 /gmenu/dbus/subscriptions 1321s ok 11 /gmenu/dbus/threaded 1321s # slow test /gmenu/dbus/threaded executed in 0.80 secs 1321s # Start of peer tests 1322s ok 12 /gmenu/dbus/peer/roundtrip 1322s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1322s ok 13 /gmenu/dbus/peer/subscriptions 1322s # End of peer tests 1322s # Start of export tests 1322s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1322s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1322s ok 14 /gmenu/dbus/export/error-handling 1322s # End of export tests 1322s # End of dbus tests 1322s # Start of attributes tests 1322s ok 15 /gmenu/attributes/iterate 1322s # End of attributes tests 1322s # End of gmenu tests 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1322s PASS: glib/gmenumodel.test 1322s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.8s; system=0.2s; maxrss=19300 1323s autopkgtest [22:00:11]: test gmenumodel: -----------------------] 1323s autopkgtest [22:00:11]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1323s gmenumodel PASS 1324s autopkgtest [22:00:12]: test mainloop: preparing testbed 1324s Reading package lists... 1324s Building dependency tree... 1324s Reading state information... 1324s Starting pkgProblemResolver with broken count: 0 1325s Starting 2 pkgProblemResolver with broken count: 0 1325s Done 1325s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1326s autopkgtest [22:00:14]: test mainloop: [----------------------- 1326s Running test: glib/mainloop.test 1326s TAP version 14 1326s # random seed: R02Se379999943f7527a794565e9a10af964 1326s 1..45 1326s # Start of maincontext tests 1326s ok 1 /maincontext/basic 1326s # Add same-priority sources: 16 1326s # Find each source: 2 1326s # Remove in random order: 36 1326s ok 2 /maincontext/nsources_same_priority 1327s # Add different-priority sources: 17 1327s # Find each source: 2 1327s # Remove in random order: 42 1327s ok 3 /maincontext/nsources_different_priority 1327s # Add sources from threads: 155 1327s # Remove sources from threads: 35 1327s ok 4 /maincontext/nsources_threadpool 1327s ok 5 /maincontext/source_finalization 1327s # /maincontext/idle-once summary: Test g_idle_add_once() works 1327s ok 6 /maincontext/idle-once 1327s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1327s ok 7 /maincontext/timeout-once 1327s # Start of source_finalization_from_source tests 1327s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 8 /maincontext/source_finalization_from_source/0 1327s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 9 /maincontext/source_finalization_from_source/1 1327s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 10 /maincontext/source_finalization_from_source/2 1327s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 11 /maincontext/source_finalization_from_source/3 1327s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 12 /maincontext/source_finalization_from_source/4 1327s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 13 /maincontext/source_finalization_from_source/5 1327s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 14 /maincontext/source_finalization_from_source/6 1327s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 15 /maincontext/source_finalization_from_source/7 1327s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 16 /maincontext/source_finalization_from_source/8 1327s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1327s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1327s ok 17 /maincontext/source_finalization_from_source/9 1327s # End of source_finalization_from_source tests 1327s # Start of source_finalization_from_dispatch tests 1327s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1327s ok 18 /maincontext/source_finalization_from_dispatch/0 1327s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1327s ok 19 /maincontext/source_finalization_from_dispatch/1 1327s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1327s ok 20 /maincontext/source_finalization_from_dispatch/2 1327s # End of source_finalization_from_dispatch tests 1327s # End of maincontext tests 1327s # Start of mainloop tests 1327s ok 21 /mainloop/basic 1327s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1327s ok 23 /mainloop/priorities 1327s ok 24 /mainloop/invoke 1327s # slow test /mainloop/invoke executed in 0.50 secs 1329s ok 25 /mainloop/child_sources 1329s # slow test /mainloop/child_sources executed in 1.19 secs 1331s ok 26 /mainloop/recursive_child_sources 1331s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1331s ok 27 /mainloop/recursive_loop_child_sources 1331s ok 28 /mainloop/swapping_child_sources 1331s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1331s ok 29 /mainloop/blocked_child_sources 1332s Executing: glib/mainloop.test 1332s ok 30 /mainloop/source_time 1332s # slow test /mainloop/source_time executed in 1.00 secs 1332s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1332s ok 31 /mainloop/overflow 1332s ok 32 /mainloop/ready-time 1332s # slow test /mainloop/ready-time executed in 0.50 secs 1332s ok 33 /mainloop/wakeup 1332s ok 34 /mainloop/remove-invalid 1332s ok 35 /mainloop/unref-while-pending 1333s ok 36 /mainloop/unix-fd 1333s # slow test /mainloop/unix-fd executed in 0.63 secs 1333s ok 37 /mainloop/unix-fd-source 1333s ok 38 /mainloop/source-unix-fd-api 1333s ok 39 /mainloop/wait 1333s ok 40 /mainloop/unix-file-poll 1333s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1333s ok 41 /mainloop/unix-fd-priority 1333s ok 42 /mainloop/nfds 1333s ok 43 /mainloop/steal-fd 1333s # Start of ownerless-polling tests 1333s ok 44 /mainloop/ownerless-polling/attach-first 1333s ok 45 /mainloop/ownerless-polling/pop-first 1333s # End of ownerless-polling tests 1333s # End of mainloop tests 1333s PASS: glib/mainloop.test 1333s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.7s; maxrss=15620 1333s autopkgtest [22:00:21]: test mainloop: -----------------------] 1334s mainloop PASS 1334s autopkgtest [22:00:22]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1334s autopkgtest [22:00:22]: test memory-monitor-dbus: preparing testbed 1335s Reading package lists... 1335s Building dependency tree... 1335s Reading state information... 1335s Starting pkgProblemResolver with broken count: 0 1335s Starting 2 pkgProblemResolver with broken count: 0 1335s Done 1336s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1337s autopkgtest [22:00:25]: test memory-monitor-dbus: [----------------------- 1337s Running test: glib/memory-monitor-dbus.test 1338s TAP version 13 1338s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1338s # Received memory warning signal, level 1338s # Received memory warning signal, level 1338s # Received memory warning signal, level 1338s 1..1 1338s PASS: glib/memory-monitor-dbus.test 1338s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.0s; maxrss=29464 1338s autopkgtest [22:00:26]: test memory-monitor-dbus: -----------------------] 1338s memory-monitor-dbus PASS 1338s autopkgtest [22:00:26]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1339s autopkgtest [22:00:27]: test socket: preparing testbed 1339s Reading package lists... 1339s Building dependency tree... 1339s Reading state information... 1340s Starting pkgProblemResolver with broken count: 0 1340s Starting 2 pkgProblemResolver with broken count: 0 1340s Done 1340s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1341s autopkgtest [22:00:29]: test socket: [----------------------- 1341s Running test: glib/socket.test 1341s TAP version 14 1341s # random seed: R02S719f9ab2f0853041526cf350fef71f7c 1341s 1..28 1341s # Start of socket tests 1342s ok 1 /socket/ipv4_sync 1342s # slow test /socket/ipv4_sync executed in 1.00 secs 1343s ok 2 /socket/ipv4_async 1343s # slow test /socket/ipv4_async executed in 1.00 secs 1343s ok 3 /socket/ipv6_sync 1343s ok 4 /socket/ipv6_async 1343s ok 5 /socket/ipv6_v4mapped 1344s ok 6 /socket/close_graceful 1344s # slow test /socket/close_graceful executed in 1.00 secs 1344s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1344s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1344s ok 8 /socket/fd_reuse 1344s ok 9 /socket/address 1344s ok 10 /socket/unix-from-fd 1344s ok 11 /socket/unix-connection 1344s ok 12 /socket/unix-connection-ancillary-data 1344s ok 13 /socket/source-postmortem 1344s ok 14 /socket/read_write 1344s ok 15 /socket/read_writev 1344s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1344s ok 16 /socket/receive_bytes 1344s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1344s ok 17 /socket/receive_bytes_from 1344s # Start of ipv4_sync tests 1344s ok 18 /socket/ipv4_sync/datagram 1344s # Start of datagram tests 1346s ok 19 /socket/ipv4_sync/datagram/timeouts 1346s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1346s # End of datagram tests 1346s # End of ipv4_sync tests 1346s # Start of ipv6_sync tests 1346s ok 20 /socket/ipv6_sync/datagram 1346s # Start of datagram tests 1347s Executing: glib/socket.test 1347s ok 21 /socket/ipv6_sync/datagram/timeouts 1347s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1347s # End of datagram tests 1347s # End of ipv6_sync tests 1347s # Start of reuse tests 1347s ok 22 /socket/reuse/tcp 1347s ok 23 /socket/reuse/udp 1347s # End of reuse tests 1347s # Start of get_available tests 1347s ok 24 /socket/get_available/datagram 1347s ok 25 /socket/get_available/stream 1347s # End of get_available tests 1347s # Start of credentials tests 1347s # Supported on this OS: GCredentials:linux-ucred:pid=0 1347s ok 26 /socket/credentials/tcp_client 1347s # Supported on this OS: GCredentials:linux-ucred:pid=0 1347s ok 27 /socket/credentials/tcp_server 1347s # Supported on this OS: GCredentials:linux-ucred:pid=17579,uid=1000,gid=1000 1347s ok 28 /socket/credentials/unix_socketpair 1347s # End of credentials tests 1347s # End of socket tests 1347s PASS: glib/socket.test 1347s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5416 1347s autopkgtest [22:00:35]: test socket: -----------------------] 1348s autopkgtest [22:00:36]: test socket: - - - - - - - - - - results - - - - - - - - - - 1348s socket PASS 1348s autopkgtest [22:00:36]: test testfilemonitor: preparing testbed 1348s Reading package lists... 1348s Building dependency tree... 1348s Reading state information... 1349s Starting pkgProblemResolver with broken count: 0 1349s Starting 2 pkgProblemResolver with broken count: 0 1349s Done 1350s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1350s autopkgtest [22:00:38]: test testfilemonitor: [----------------------- 1351s Running test: glib/testfilemonitor.test 1351s TAP version 14 1351s # random seed: R02Sfaf818344c8d52c31c34bdbfd555a4af 1351s 1..8 1351s # Start of monitor tests 1351s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1351s # Using temporary directory: /tmp/gio-test-testfilemonitor_2ZKC22 1351s # Using GFileMonitor GInotifyFileMonitor 1353s ok 1 /monitor/atomic-replace 1353s # slow test /monitor/atomic-replace executed in 2.00 secs 1353s # Using temporary directory: /tmp/gio-test-testfilemonitor_RDFC22 1353s # Using GFileMonitor GInotifyFileMonitor 1355s ok 2 /monitor/file-changes 1355s # slow test /monitor/file-changes executed in 2.50 secs 1355s # Using temporary directory: /tmp/gio-test-testfilemonitor_SZM112 1355s # Using GFileMonitor GInotifyFileMonitor 1356s Executing: glib/testfilemonitor.test 1359s ok 3 /monitor/dir-monitor 1359s # slow test /monitor/dir-monitor executed in 3.50 secs 1359s # Using temporary directory: /tmp/gio-test-testfilemonitor_LL2E22 1359s # Using GFileMonitor GInotifyFileMonitor 1361s Executing: glib/testfilemonitor.test 1366s Executing: glib/testfilemonitor.test 1371s Executing: glib/testfilemonitor.test 1376s Executing: glib/testfilemonitor.test 1381s Executing: glib/testfilemonitor.test 1384s ok 4 /monitor/dir-not-existent 1384s # slow test /monitor/dir-not-existent executed in 25.02 secs 1384s # Using temporary directory: /tmp/gio-test-testfilemonitor_J1QE22 1384s # Using GFileMonitor 0 GInotifyFileMonitor 1384s # Using GFileMonitor 1 GInotifyFileMonitor 1386s Executing: glib/testfilemonitor.test 1386s ok 5 /monitor/cross-dir-moves 1386s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1386s # Using temporary directory: /tmp/gio-test-testfilemonitor_4ZOE22 1386s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1386s ok 6 /monitor/finalize-in-callback 1386s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZILE22 1386s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1386s ok 7 /monitor/root 1386s # Start of file tests 1386s # Using temporary directory: /tmp/gio-test-testfilemonitor_K5KE22 1386s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1386s # Running with hard link tests 1386s # Using GFileMonitor GInotifyFileMonitor 1389s # Event 0 at expected index 7 skipped because it is marked as optional 1389s # Event 2 at expected index 11 skipped because it is marked as optional 1389s ok 8 /monitor/file/hard-links 1389s # slow test /monitor/file/hard-links executed in 3.50 secs 1389s # End of file tests 1389s # End of monitor tests 1389s PASS: glib/testfilemonitor.test 1389s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5504 1390s autopkgtest [22:01:18]: test testfilemonitor: -----------------------] 1390s autopkgtest [22:01:18]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1390s testfilemonitor PASS 1390s autopkgtest [22:01:18]: test thread-pool-slow: preparing testbed 1391s Reading package lists... 1391s Building dependency tree... 1391s Reading state information... 1391s Starting pkgProblemResolver with broken count: 0 1391s Starting 2 pkgProblemResolver with broken count: 0 1391s Done 1392s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1393s autopkgtest [22:01:21]: test thread-pool-slow: [----------------------- 1393s Running test: glib/thread-pool-slow.test 1393s TAP version 14 1393s # random seed: R02Sfb6fe34e48c02cfc703aee32a84ed421 1393s 1..7 1393s # Start of threadpool tests 1393s ok 1 /threadpool/functions 1394s ok 2 /threadpool/stop-unused 1394s # slow test /threadpool/stop-unused executed in 0.51 secs 1394s ok 3 /threadpool/pools 1394s # [unsorted] ===> pushed new thread with id:39, number of threads:1, unprocessed:1 1394s # [unsorted] ===> pushed new thread with id:29, number of threads:2, unprocessed:1 1394s # [unsorted] ===> pushed new thread with id:85, number of threads:3, unprocessed:1 1394s # [unsorted] ===> pushed new thread with id:35, number of threads:4, unprocessed:2 1394s # [unsorted] ===> pushed new thread with id:79, number of threads:5, unprocessed:2 1394s # [unsorted] ===> pushed new thread with id:41, number of threads:6, unprocessed:2 1394s # [unsorted] ===> pushed new thread with id:13, number of threads:7, unprocessed:2 1394s # [unsorted] ===> pushed new thread with id:6, number of threads:8, unprocessed:3 1394s # [unsorted] ===> pushed new thread with id:64, number of threads:9, unprocessed:3 1394s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:4 1394s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:1 1394s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:2 1394s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:3 1394s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:4 1394s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:5 1394s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:6 1394s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:7 1394s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:8 1394s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:9 1394s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:10 1394s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:11 1394s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:12 1394s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:13 1394s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:14 1394s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:15 1394s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:16 1394s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:17 1394s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:18 1394s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:19 1394s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:20 1394s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:21 1394s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:22 1394s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:23 1394s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:24 1394s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:25 1394s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:26 1394s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:27 1394s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:28 1394s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:29 1394s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:30 1394s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:31 1394s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:32 1394s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:33 1394s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:34 1394s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:35 1394s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:36 1394s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:37 1394s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:38 1394s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:39 1394s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:40 1394s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:41 1394s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:42 1394s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:43 1394s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:44 1394s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:45 1394s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:46 1394s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:47 1394s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:48 1394s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:49 1394s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:50 1394s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:51 1394s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:52 1394s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:53 1394s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:54 1394s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:55 1394s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:56 1394s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:57 1394s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:58 1394s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:59 1394s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:60 1394s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:61 1394s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:62 1394s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:63 1394s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:64 1394s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:65 1394s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:66 1394s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:67 1394s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:68 1394s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:69 1394s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:70 1394s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:71 1394s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:72 1394s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:73 1394s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:74 1394s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:75 1394s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:76 1394s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:77 1394s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:78 1394s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:79 1394s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:80 1394s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:81 1394s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:82 1394s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:83 1394s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:84 1394s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:85 1394s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:86 1394s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:87 1394s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:88 1394s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:89 1394s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:90 1394s ok 4 /threadpool/no-sort 1394s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:1 1394s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:2 1394s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:3 1394s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:4 1394s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:5 1394s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:6 1394s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:7 1394s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:8 1394s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:9 1394s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:10 1394s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:11 1394s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:12 1394s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:13 1394s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:14 1394s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:15 1394s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:16 1394s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:17 1394s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:18 1394s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:19 1394s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:20 1394s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:21 1394s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:22 1394s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:23 1394s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:24 1394s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:25 1394s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:26 1394s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:27 1394s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:28 1394s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:29 1394s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:30 1394s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:31 1394s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:32 1394s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:33 1394s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:34 1394s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:35 1394s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:36 1394s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:37 1394s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:38 1394s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:39 1394s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:40 1394s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:41 1394s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:42 1394s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:43 1394s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:44 1394s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:45 1394s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:46 1394s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:47 1394s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:48 1394s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:49 1394s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:50 1394s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:51 1394s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:52 1394s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:53 1394s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:54 1394s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:55 1394s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:56 1394s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:57 1394s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:58 1394s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:59 1394s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:60 1394s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:61 1394s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:62 1394s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:63 1394s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:64 1394s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:65 1394s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:66 1394s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:67 1394s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:68 1394s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:69 1394s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:70 1394s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:71 1394s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:72 1394s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:73 1394s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:74 1394s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:75 1394s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:76 1394s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:77 1394s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:78 1394s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:79 1394s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:80 1394s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:81 1394s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:82 1394s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:83 1394s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:84 1394s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:85 1394s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:86 1394s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:87 1394s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:88 1394s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:89 1394s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:90 1394s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:91 1394s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:92 1394s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:93 1394s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:94 1394s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:95 1394s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:96 1394s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:97 1394s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:98 1394s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:99 1394s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:100 1394s # Starting thread pool processing 1394s ok 5 /threadpool/sort 1394s ok 6 /threadpool/stop-unused-multiple 1394s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1394s # Pool idle thread count: 0, unprocessed jobs: 50 1395s # Pool idle thread count: 0, unprocessed jobs: 0 1395s # Pool idle thread count: 0, unprocessed jobs: 0 1395s # Pool idle thread count: 10, unprocessed jobs: 0 1395s # Pool idle thread count: 10, unprocessed jobs: 0 1396s # Pool idle thread count: 10, unprocessed jobs: 0 1396s # Pool idle thread count: 10, unprocessed jobs: 0 1396s # Pool idle thread count: 10, unprocessed jobs: 0 1396s # Pool idle thread count: 10, unprocessed jobs: 0 1397s # Pool idle thread count: 10, unprocessed jobs: 0 1397s # Pool idle thread count: 10, unprocessed jobs: 0 1397s # Pool idle thread count: 10, unprocessed jobs: 0 1397s # Pool idle thread count: 10, unprocessed jobs: 0 1398s # Pool idle thread count: 10, unprocessed jobs: 0 1398s # Pool idle thread count: 10, unprocessed jobs: 0 1398s # Pool idle thread count: 10, unprocessed jobs: 0 1398s # Pool idle thread count: 10, unprocessed jobs: 0 1399s Executing: glib/thread-pool-slow.test 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1403s # Pool idle thread count: 10, unprocessed jobs: 0 1403s # Pool idle thread count: 10, unprocessed jobs: 0 1403s # Pool idle thread count: 9, unprocessed jobs: 2 1403s # Pool idle thread count: 9, unprocessed jobs: 2 1403s # Pool idle thread count: 8, unprocessed jobs: 0 1403s # Pool idle thread count: 8, unprocessed jobs: 0 1404s Executing: glib/thread-pool-slow.test 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1405s # Pool idle thread count: 10, unprocessed jobs: 0 1405s # Pool idle thread count: 10, unprocessed jobs: 0 1405s # Pool idle thread count: 2, unprocessed jobs: 0 1405s # Pool idle thread count: 2, unprocessed jobs: 0 1406s # Pool idle thread count: 2, unprocessed jobs: 0 1406s # Pool idle thread count: 2, unprocessed jobs: 0 1406s # Pool idle thread count: 2, unprocessed jobs: 0 1406s # Pool idle thread count: 2, unprocessed jobs: 0 1407s # Pool idle thread count: 2, unprocessed jobs: 0 1407s # Pool idle thread count: 2, unprocessed jobs: 0 1407s # Pool idle thread count: 2, unprocessed jobs: 0 1407s # Pool idle thread count: 2, unprocessed jobs: 0 1408s # Pool idle thread count: 2, unprocessed jobs: 0 1408s # Pool idle thread count: 2, unprocessed jobs: 0 1408s # Pool idle thread count: 2, unprocessed jobs: 0 1408s # Pool idle thread count: 2, unprocessed jobs: 0 1409s Executing: glib/thread-pool-slow.test 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1414s Executing: glib/thread-pool-slow.test 1414s ok 7 /threadpool/idle-time 1414s # slow test /threadpool/idle-time executed in 19.53 secs 1414s # End of threadpool tests 1414s PASS: glib/thread-pool-slow.test 1414s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3704 1414s autopkgtest [22:01:42]: test thread-pool-slow: -----------------------] 1415s autopkgtest [22:01:43]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1415s thread-pool-slow PASS 1415s autopkgtest [22:01:43]: test threadtests: preparing testbed 1415s Reading package lists... 1416s Building dependency tree... 1416s Reading state information... 1416s Starting pkgProblemResolver with broken count: 0 1416s Starting 2 pkgProblemResolver with broken count: 0 1416s Done 1417s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1418s autopkgtest [22:01:46]: test threadtests: [----------------------- 1418s Running test: glib/threadtests.test 1418s TAP version 14 1418s # random seed: R02S1fb02256e86ed398ecf2328c9fac8c95 1418s 1..5 1418s # Start of GObject tests 1418s ok 1 /GObject/threaded-object-init 1419s ok 2 /GObject/threaded-weak-ref 1419s # slow test /GObject/threaded-weak-ref executed in 0.70 secs 1419s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1419s # /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 1419s ok 3 /GObject/threaded-toggle-notify 1419s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1419s # Start of threaded-weak-ref tests 1419s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1419s # /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. 1419s ok 5 /GObject/threaded-weak-ref/on-finalization 1419s # End of threaded-weak-ref tests 1419s # End of GObject tests 1419s PASS: glib/threadtests.test 1419s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.4s; maxrss=3336 1419s autopkgtest [22:01:47]: test threadtests: -----------------------] 1420s threadtests PASS 1420s autopkgtest [22:01:48]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1420s autopkgtest [22:01:48]: test timeout: preparing testbed 1420s Reading package lists... 1421s Building dependency tree... 1421s Reading state information... 1421s Starting pkgProblemResolver with broken count: 0 1421s Starting 2 pkgProblemResolver with broken count: 0 1421s Done 1422s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1423s autopkgtest [22:01:51]: test timeout: [----------------------- 1423s Running test: glib/timeout.test 1423s TAP version 14 1423s # random seed: R02Sabb3af84929cad714db7f55af4e04117 1423s 1..5 1423s # Start of timeout tests 1423s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1425s ok 1 /timeout/seconds 1425s # slow test /timeout/seconds executed in 2.10 secs 1427s ok 2 /timeout/seconds-once 1427s # slow test /timeout/seconds-once executed in 2.10 secs 1427s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1429s Executing: glib/timeout.test 1429s ok 3 /timeout/weeks-overflow 1429s # slow test /timeout/weeks-overflow executed in 2.10 secs 1429s ok 4 /timeout/far-future-ready-time 1434s Executing: glib/timeout.test 1439s Executing: glib/timeout.test 1440s ok 5 /timeout/rounding 1440s # slow test /timeout/rounding executed in 10.50 secs 1440s # End of timeout tests 1440s PASS: glib/timeout.test 1440s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2856 1440s autopkgtest [22:02:08]: test timeout: -----------------------] 1440s autopkgtest [22:02:08]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1440s timeout PASS 1441s autopkgtest [22:02:09]: test timer: preparing testbed 1441s Reading package lists... 1441s Building dependency tree... 1441s Reading state information... 1442s Starting pkgProblemResolver with broken count: 0 1442s Starting 2 pkgProblemResolver with broken count: 0 1442s Done 1442s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1443s autopkgtest [22:02:11]: test timer: [----------------------- 1443s Running test: glib/timer.test 1443s TAP version 14 1443s # random seed: R02Sb4a47091fff25d1c9801bb8f0c46de7d 1443s 1..10 1443s # Start of timer tests 1443s ok 1 /timer/basic 1443s ok 2 /timer/stop 1443s ok 3 /timer/continue 1443s ok 4 /timer/reset 1443s ok 5 /timer/is_active 1443s # End of timer tests 1443s # Start of timeval tests 1443s ok 6 /timeval/add 1443s ok 7 /timeval/from-iso8601 1443s ok 8 /timeval/to-iso8601 1443s # Start of to-iso8601 tests 1443s ok 9 /timeval/to-iso8601/overflow 1443s # End of to-iso8601 tests 1443s # End of timeval tests 1443s # Start of usleep tests 1443s ok 10 /usleep/with-zero-wait 1443s # End of usleep tests 1443s PASS: glib/timer.test 1443s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3004 1444s autopkgtest [22:02:12]: test timer: -----------------------] 1444s autopkgtest [22:02:12]: test timer: - - - - - - - - - - results - - - - - - - - - - 1444s timer PASS 1445s autopkgtest [22:02:13]: test 1065022-futureproofing: preparing testbed 1537s autopkgtest [22:03:45]: testbed dpkg architecture: arm64 1537s autopkgtest [22:03:45]: testbed apt version: 2.9.30ubuntu1 1538s autopkgtest [22:03:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1538s autopkgtest [22:03:46]: testbed release detected to be: plucky 1539s autopkgtest [22:03:47]: updating testbed package index (apt update) 1539s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 1539s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1540s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1540s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1540s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [85.6 kB] 1540s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 1540s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [708 kB] 1540s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.8 kB] 1540s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [128 kB] 1540s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [7960 B] 1540s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [665 kB] 1540s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.7 kB] 1540s Fetched 1733 kB in 1s (1925 kB/s) 1541s Reading package lists... 1542s + lsb_release --codename --short 1542s + RELEASE=plucky 1542s + cat 1542s + [ plucky != trusty ] 1542s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 1542s Reading package lists... 1542s Building dependency tree... 1542s Reading state information... 1543s Calculating upgrade... 1543s Calculating upgrade... 1543s The following packages will be upgraded: 1543s apparmor base-files cloud-init cloud-init-base gcc-14-base libapparmor1 1543s libgnutls30t64 liblsof0 libnss3 lsof motd-news-config ucf 1543s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1543s Need to get 4207 kB of archives. 1543s After this operation, 22.5 kB of additional disk space will be used. 1543s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 motd-news-config all 13.6ubuntu1 [5168 B] 1543s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 base-files arm64 13.6ubuntu1 [75.6 kB] 1544s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-base arm64 14.2.0-17ubuntu3 [53.6 kB] 1544s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libapparmor1 arm64 4.1.0~beta5-0ubuntu5 [53.7 kB] 1544s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libgnutls30t64 arm64 3.8.9-2ubuntu2 [962 kB] 1544s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 ucf all 3.0050 [43.5 kB] 1544s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 apparmor arm64 4.1.0~beta5-0ubuntu5 [660 kB] 1544s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 lsof arm64 4.99.4+dfsg-2 [236 kB] 1544s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsof0 arm64 4.99.4+dfsg-2 [54.0 kB] 1544s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init-base all 25.1-0ubuntu1 [616 kB] 1544s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libnss3 arm64 2:3.108-1ubuntu1 [1446 kB] 1544s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cloud-init all 25.1-0ubuntu1 [2088 B] 1545s Preconfiguring packages ... 1545s Fetched 4207 kB in 1s (4166 kB/s) 1545s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 116668 files and directories currently installed.) 1545s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 1545s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 1545s Preparing to unpack .../base-files_13.6ubuntu1_arm64.deb ... 1545s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 1545s Setting up base-files (13.6ubuntu1) ... 1545s Updating /root/.profile to current default. 1546s motd-news.service is a disabled or a static unit not running, not starting it. 1546s (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 ... 116668 files and directories currently installed.) 1546s Preparing to unpack .../0-gcc-14-base_14.2.0-17ubuntu3_arm64.deb ... 1546s Unpacking gcc-14-base:arm64 (14.2.0-17ubuntu3) over (14.2.0-17ubuntu1) ... 1546s Preparing to unpack .../1-libapparmor1_4.1.0~beta5-0ubuntu5_arm64.deb ... 1546s Unpacking libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 1547s Preparing to unpack .../2-libgnutls30t64_3.8.9-2ubuntu2_arm64.deb ... 1547s Unpacking libgnutls30t64:arm64 (3.8.9-2ubuntu2) over (3.8.9-2ubuntu1) ... 1547s Preparing to unpack .../3-ucf_3.0050_all.deb ... 1547s Unpacking ucf (3.0050) over (3.0049) ... 1547s Preparing to unpack .../4-apparmor_4.1.0~beta5-0ubuntu5_arm64.deb ... 1548s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta5-0ubuntu4) ... 1548s Preparing to unpack .../5-lsof_4.99.4+dfsg-2_arm64.deb ... 1548s Unpacking lsof (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 1548s Preparing to unpack .../6-liblsof0_4.99.4+dfsg-2_arm64.deb ... 1548s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.4+dfsg-1) ... 1548s Preparing to unpack .../7-cloud-init-base_25.1-0ubuntu1_all.deb ... 1549s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1549s for fn in glob1(directory, "%s.*" % fname): 1549s Unpacking cloud-init-base (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 1549s Preparing to unpack .../8-libnss3_2%3a3.108-1ubuntu1_arm64.deb ... 1549s Unpacking libnss3:arm64 (2:3.108-1ubuntu1) over (2:3.107-1ubuntu1) ... 1549s Preparing to unpack .../9-cloud-init_25.1-0ubuntu1_all.deb ... 1549s Unpacking cloud-init (25.1-0ubuntu1) over (25.1~3geb1965a4-0ubuntu1) ... 1549s Setting up libgnutls30t64:arm64 (3.8.9-2ubuntu2) ... 1549s Setting up motd-news-config (13.6ubuntu1) ... 1549s Setting up libapparmor1:arm64 (4.1.0~beta5-0ubuntu5) ... 1549s Setting up gcc-14-base:arm64 (14.2.0-17ubuntu3) ... 1549s Setting up liblsof0 (4.99.4+dfsg-2) ... 1549s Setting up libnss3:arm64 (2:3.108-1ubuntu1) ... 1549s Setting up cloud-init-base (25.1-0ubuntu1) ... 1551s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 1551s Installing new version of config file /etc/apparmor.d/fusermount3 ... 1553s Reloading AppArmor profiles 1554s Setting up ucf (3.0050) ... 1554s Setting up lsof (4.99.4+dfsg-2) ... 1554s Setting up cloud-init (25.1-0ubuntu1) ... 1554s Processing triggers for rsyslog (8.2412.0-2ubuntu1) ... 1554s Processing triggers for systemd (257.2-3ubuntu1) ... 1555s Processing triggers for man-db (2.13.0-1) ... 1556s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 1556s Processing triggers for install-info (7.1.1-1) ... 1556s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1556s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1556s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 1556s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1579s System running in EFI mode, skipping. 1579s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 1579s + /usr/lib/apt/apt-helper analyze-pattern ?true 1579s + uname -r 1579s + sed s/\./\\./g 1579s + running_kernel_pattern=^linux-.*6\.12\.0-15-generic.* 1579s + apt list ?obsolete 1579s + tail -n+2 1579s + cut -d/ -f1 1579s + grep -v ^linux-.*6\.12\.0-15-generic.* 1579s + true 1579s + obsolete_pkgs= 1579s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove 1579s Reading package lists... 1580s Building dependency tree... 1580s Reading state information... 1580s Solving dependencies... 1580s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1580s + grep -q trusty /etc/lsb-release 1580s + [ ! -d /usr/share/doc/unattended-upgrades ] 1580s + [ ! -d /usr/share/doc/lxd ] 1580s + [ ! -d /usr/share/doc/lxd-client ] 1580s + [ ! -d /usr/share/doc/snapd ] 1580s + type iptables 1580s + cat 1580s + chmod 755 /etc/rc.local 1580s + . /etc/rc.local 1580s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1580s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 1580s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 1580s + uname -m 1581s + [ aarch64 = ppc64le ] 1581s + [ -d /run/systemd/system ] 1581s + systemd-detect-virt --quiet --vm 1581s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 1581s + cat 1581s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 1581s + echo COMPRESS=lz4 1581s autopkgtest [22:04:29]: upgrading testbed (apt dist-upgrade and autopurge) 1581s Reading package lists... 1581s Building dependency tree... 1581s Reading state information... 1582s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1582s Starting 2 pkgProblemResolver with broken count: 0 1582s Done 1582s Entering ResolveByKeep 1583s 1583s Calculating upgrade... 1583s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1583s Reading package lists... 1584s Building dependency tree... 1584s Reading state information... 1584s Starting pkgProblemResolver with broken count: 0 1584s Starting 2 pkgProblemResolver with broken count: 0 1584s Done 1585s Solving dependencies... 1585s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1585s autopkgtest [22:04:33]: rebooting testbed after setup commands that affected boot 1612s Reading package lists... 1612s Building dependency tree... 1612s Reading state information... 1612s Starting pkgProblemResolver with broken count: 0 1612s Starting 2 pkgProblemResolver with broken count: 0 1612s Done 1613s The following NEW packages will be installed: 1613s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1613s libdconf1 1613s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1613s Need to get 138 kB of archives. 1613s After this operation, 701 kB of additional disk space will be used. 1613s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libdconf1 arm64 0.40.0-5 [40.0 kB] 1613s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-service arm64 0.40.0-5 [27.1 kB] 1613s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-gsettings-backend arm64 0.40.0-5 [22.3 kB] 1613s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 dpkg-repack all 1.54 [11.2 kB] 1613s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gsettings-desktop-schemas all 48~beta-1ubuntu1 [37.4 kB] 1614s Fetched 138 kB in 0s (375 kB/s) 1614s Selecting previously unselected package libdconf1:arm64. 1614s (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 ... 116669 files and directories currently installed.) 1614s Preparing to unpack .../libdconf1_0.40.0-5_arm64.deb ... 1614s Unpacking libdconf1:arm64 (0.40.0-5) ... 1614s Selecting previously unselected package dconf-service. 1614s Preparing to unpack .../dconf-service_0.40.0-5_arm64.deb ... 1614s Unpacking dconf-service (0.40.0-5) ... 1614s Selecting previously unselected package dconf-gsettings-backend:arm64. 1614s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_arm64.deb ... 1614s Unpacking dconf-gsettings-backend:arm64 (0.40.0-5) ... 1614s Selecting previously unselected package dpkg-repack. 1614s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1614s Unpacking dpkg-repack (1.54) ... 1614s Selecting previously unselected package gsettings-desktop-schemas. 1614s Preparing to unpack .../gsettings-desktop-schemas_48~beta-1ubuntu1_all.deb ... 1614s Unpacking gsettings-desktop-schemas (48~beta-1ubuntu1) ... 1614s Setting up dpkg-repack (1.54) ... 1614s Setting up libdconf1:arm64 (0.40.0-5) ... 1614s Setting up dconf-service (0.40.0-5) ... 1614s Setting up dconf-gsettings-backend:arm64 (0.40.0-5) ... 1614s Setting up gsettings-desktop-schemas (48~beta-1ubuntu1) ... 1614s Processing triggers for man-db (2.13.0-1) ... 1615s Processing triggers for libglib2.0-0t64:arm64 (2.83.3-2) ... 1615s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1619s autopkgtest [22:05:07]: test 1065022-futureproofing: [----------------------- 1620s + export DEBIAN_FRONTEND=noninteractive 1620s + n=0 1620s + failed=0 1620s + binary_package=libglib2.0-0t64 1620s + future_binary_package=libglib2.0-0xyz 1620s + pwd 1620s + srcdir=/tmp/autopkgtest.WcFGAy/build.Jie/src 1620s + mktemp -d 1620s + tmpdir=/tmp/tmp.IRrSUESgmq 1620s + cd /tmp/tmp.IRrSUESgmq 1620s + [ -e /tmp/autopkgtest.WcFGAy/build.Jie/src/debian/tests/manual/local-1065022.sources ] 1620s + dpkg-query -W dpkg-repack 1620s + dpkg-repack --generate libglib2.0-0t64 1620s dpkg-repack 1.54 1620s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1620s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.WRGc41 for libglib2.0-0t64 1620s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.WRGc41 ." 1620s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.WRGc41/DEBIAN/control 1620s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.WRGc41/DEBIAN/control 1620s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.WRGc41/DEBIAN/control 1620s + 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.WRGc41/DEBIAN/control 1620s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.WRGc41 libglib2.0-0xyz.deb 1620s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1621s + apt-get -y install ./libglib2.0-0xyz.deb 1621s Reading package lists... 1622s Building dependency tree... 1622s Reading state information... 1622s Solving dependencies... 1622s The following packages were automatically installed and are no longer required: 1622s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libbytesize-common 1622s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1622s libgpgme11t64 libicu76 libinih1 libjq1 libjson-glib-1.0-common libnspr4 1622s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi 1622s python3-chardet python3-configobj python3-debconf python3-markdown-it 1622s python3-mdurl python3-openssl python3-problem-report python3-pygments 1622s python3-requests python3-rich python3-systemd python3-urllib3 1622s Use 'sudo apt autoremove' to remove them. 1622s The following additional packages will be installed: 1623s xdg-user-dirs 1623s Suggested packages: 1623s low-memory-monitor 1623s Recommended packages: 1623s shared-mime-info 1623s The following packages will be REMOVED: 1623s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1623s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1623s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1623s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1623s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1623s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1623s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1623s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1623s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1623s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1623s python3-netplan shared-mime-info ubuntu-minimal udisks2 xfsprogs 1623s The following NEW packages will be installed: 1623s libglib2.0-0xyz xdg-user-dirs 1623s 0 upgraded, 2 newly installed, 49 to remove and 0 not upgraded. 1623s Need to get 18.5 kB/1587 kB of archives. 1623s After this operation, 39.1 MB disk space will be freed. 1623s Get:1 /tmp/tmp.IRrSUESgmq/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.83.3-2 [1569 kB] 1623s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 xdg-user-dirs arm64 0.18-2 [18.5 kB] 1623s Fetched 18.5 kB in 0s (85.1 kB/s) 1623s (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 ... 116738 files and directories currently installed.) 1623s Removing bolt (0.9.8-1) ... 1623s Removing cloud-init (25.1-0ubuntu1) ... 1624s Removing cloud-init-base (25.1-0ubuntu1) ... 1624s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1624s for fn in glob1(directory, "%s.*" % fname): 1624s Removing gsettings-desktop-schemas (48~beta-1ubuntu1) ... 1624s Removing dconf-gsettings-backend:arm64 (0.40.0-5) ... 1624s Removing dconf-service (0.40.0-5) ... 1624s Removing fwupd (2.0.6-3) ... 1625s Removing networkd-dispatcher (2.2.4-1.1) ... 1625s Removing udisks2 (2.10.1-11ubuntu2) ... 1625s Removing libblockdev-crypto3:arm64 (3.3.0-1) ... 1625s Removing libblockdev-fs3:arm64 (3.3.0-1) ... 1625s Removing libblockdev-loop3:arm64 (3.3.0-1) ... 1625s Removing libblockdev-mdraid3:arm64 (3.3.0-1) ... 1625s Removing libblockdev-nvme3:arm64 (3.3.0-1) ... 1625s Removing libblockdev-part3:arm64 (3.3.0-1) ... 1626s Removing libblockdev-swap3:arm64 (3.3.0-1) ... 1626s Removing libblockdev3:arm64 (3.3.0-1) ... 1626s Removing libblockdev-utils3:arm64 (3.3.0-1) ... 1626s Removing libdconf1:arm64 (0.40.0-5) ... 1626s Removing libfwupd3:arm64 (2.0.6-3) ... 1626s Removing shared-mime-info (2.4-5) ... 1626s Removing xfsprogs (6.12.0-1ubuntu1) ... 1626s Removing python3-dbus (1.3.2-5build4) ... 1626s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1626s for fn in glob1(directory, "%s.*" % fname): 1626s Removing libgudev-1.0-0:arm64 (1:238-6) ... 1626s Removing libjcat1:arm64 (0.2.0-2build3) ... 1626s Removing libjson-glib-1.0-0:arm64 (1.10.6+ds-1) ... 1626s Removing libqmi-proxy (1.35.6-1) ... 1626s Removing libqmi-glib5:arm64 (1.35.6-1) ... 1626s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1626s Removing libmbim-glib4:arm64 (1.31.2-0ubuntu4) ... 1627s Removing libmm-glib0:arm64 (1.23.4-0ubuntu2) ... 1627s Removing ubuntu-minimal (1.547) ... 1627s Removing netplan.io (1.1.2-2ubuntu1) ... 1627s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1627s Removing python3-netplan (1.1.2-2ubuntu1) ... 1627s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1627s for fn in glob1(directory, "%s.*" % fname): 1627s Removing netplan-generator (1.1.2-2ubuntu1) ... 1627s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1627s Removing libnetplan1:arm64 (1.1.2-2ubuntu1) ... 1627s Removing libpolkit-agent-1-0:arm64 (126-2) ... 1627s Removing libpolkit-gobject-1-0:arm64 (126-2) ... 1627s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu4) ... 1627s Removing libudisks2-0:arm64 (2.10.1-11ubuntu2) ... 1627s Removing libvolume-key1:arm64 (0.3.12-9) ... 1627s Removing libxmlb2:arm64 (0.3.21-1) ... 1627s Removing apport (2.31.0+git20250220-0ubuntu1) ... 1628s Removing apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ... 1628s Removing python3-gi (3.50.0-4) ... 1628s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1628s for fn in glob1(directory, "%s.*" % fname): 1628s Removing gir1.2-girepository-2.0:arm64 (1.82.0-4) ... 1628s Removing gir1.2-glib-2.0:arm64 (2.83.3-2) ... 1628s Removing libgirepository-1.0-1:arm64 (1.82.0-4) ... 1628s Removing libglib2.0-0t64:arm64 (2.83.3-2) ... 1628s Selecting previously unselected package libglib2.0-0xyz:arm64. 1628s (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 ... 115590 files and directories currently installed.) 1628s Preparing to unpack .../libglib2.0-0xyz.deb ... 1628s Unpacking libglib2.0-0xyz:arm64 (2.83.3-2) ... 1628s Selecting previously unselected package xdg-user-dirs. 1628s Preparing to unpack .../xdg-user-dirs_0.18-2_arm64.deb ... 1628s Unpacking xdg-user-dirs (0.18-2) ... 1629s Setting up xdg-user-dirs (0.18-2) ... 1629s Setting up libglib2.0-0xyz:arm64 (2.83.3-2) ... 1629s No schema files found: removed existing output file. 1629s Processing triggers for dbus (1.16.0-1ubuntu1) ... 1629s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1629s update-initramfs: Generating /boot/initrd.img-6.12.0-15-generic 1629s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1644s System running in EFI mode, skipping. 1644s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1644s Processing triggers for man-db (2.13.0-1) ... 1645s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1645s + n=1 1645s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1645s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1645s + failed=1 1645s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1645s + n=2 1645s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1645s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1645s + failed=1 1645s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1645s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1645s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1645s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1645s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1645s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1645s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1645s + n=3 1645s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1645s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1645s + failed=1 1645s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1645s + n=4 1645s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1645s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1645s + failed=1 1645s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1645s + n=5 1645s + test -e /usr/lib/*/gio/modules/giomodule.cache 1645s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1645s + failed=1 1645s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1645s + n=6 1645s + test -s /usr/lib/*/gio/modules/giomodule.cache 1645s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1645s + failed=1 1645s + apt-get -y purge libglib2.0-0t64 1645s Reading package lists... 1646s Building dependency tree... 1646s Reading state information... 1646s The following packages were automatically installed and are no longer required: 1646s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libbytesize-common 1646s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1646s libgpgme11t64 libicu76 libinih1 libjq1 libjson-glib-1.0-common libnspr4 1646s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi 1646s python3-chardet python3-configobj python3-debconf python3-markdown-it 1646s python3-mdurl python3-openssl python3-problem-report python3-pygments 1646s python3-requests python3-rich python3-systemd python3-urllib3 1646s Use 'sudo apt autoremove' to remove them. 1646s The following packages will be REMOVED: 1646s libglib2.0-0t64* 1646s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1646s After this operation, 0 B of additional disk space will be used. 1646s (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 ... 115625 files and directories currently installed.) 1646s Purging configuration files for libglib2.0-0t64:arm64 (2.83.3-2) ... 1647s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1647s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1647s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1647s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1647s + n=7 1647s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1647s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1647s + failed=1 1647s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1647s + n=8 1647s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1647s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1647s + failed=1 1647s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1647s + n=9 1647s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1647s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1647s + failed=1 1647s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1647s + n=10 1647s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1647s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1647s + failed=1 1647s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1647s + n=11 1647s + test -e /usr/lib/*/gio/modules/giomodule.cache 1647s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1647s + failed=1 1647s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1647s + n=12 1647s + test -s /usr/lib/*/gio/modules/giomodule.cache 1647s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1647s + failed=1 1647s + apt-get -y purge libglib2.0-0xyz 1647s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1647s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1647s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1647s Reading package lists... 1647s Building dependency tree... 1647s Reading state information... 1648s The following packages were automatically installed and are no longer required: 1648s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libatomic1 1648s libbytesize-common libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 1648s libflashrom1 libftdi1-2 libglib2.0-data libgpgme11t64 libicu76 libinih1 1648s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1648s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1648s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1648s python3-openssl python3-problem-report python3-pygments python3-requests 1648s python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1648s Use 'sudo apt autoremove' to remove them. 1648s The following packages will be REMOVED: 1648s libglib2.0-0xyz* 1648s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1648s After this operation, 4967 kB disk space will be freed. 1648s (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 ... 115625 files and directories currently installed.) 1648s Removing libglib2.0-0xyz:arm64 (2.83.3-2) ... 1648s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1648s (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 ... 115600 files and directories currently installed.) 1648s Purging configuration files for libglib2.0-0xyz:arm64 (2.83.3-2) ... 1648s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1648s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1648s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1648s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1648s 1..16 1648s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1648s + n=13 1648s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1648s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1648s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1648s + n=14 1648s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1648s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1648s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1648s + n=15 1648s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1648s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1648s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1648s + n=16 1648s + test -e /usr/lib/*/gio/modules/giomodule.cache 1648s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1648s + echo 1..16 1648s + exit 1 1649s autopkgtest [22:05:37]: test 1065022-futureproofing: -----------------------] 1649s 1065022-futureproofing FLAKY non-zero exit status 1 1649s autopkgtest [22:05:37]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1649s autopkgtest [22:05:37]: @@@@@@@@@@@@@@@@@@@@ summary 1649s build PASS (superficial) 1649s build-static PASS (superficial) 1649s girepository-tools PASS (superficial) 1649s libgio-2.0-dev-bin PASS (superficial) 1649s libglib2.0-dev PASS (superficial) 1649s installed-tests PASS 1649s closure-refcount PASS 1649s debugcontroller PASS 1649s gdbus-server-auth PASS 1649s gdbus-threading PASS 1649s gmenumodel PASS 1649s mainloop PASS 1649s memory-monitor-dbus PASS 1649s socket PASS 1649s testfilemonitor PASS 1649s thread-pool-slow PASS 1649s threadtests PASS 1649s timeout PASS 1649s timer PASS 1649s 1065022-futureproofing FLAKY non-zero exit status 1 1655s nova [W] Using flock in prodstack6-arm64 1655s Creating nova instance adt-plucky-arm64-glib2.0-20250221-212935-juju-7f2275-prod-proposed-migration-environment-15-5a2006a0-613d-46f0-936d-1b06a6554194 from image adt/ubuntu-plucky-arm64-server-20250221.img (UUID 7cc4cd7e-6f5b-4658-9b17-e38e7fa05fb0)... 1655s nova [W] Timed out waiting for ee481242-9a61-4e6e-acac-36ad00cd9596 to get deleted. 1655s nova [W] Using flock in prodstack6-arm64 1655s Creating nova instance adt-plucky-arm64-glib2.0-20250221-212935-juju-7f2275-prod-proposed-migration-environment-15-5a2006a0-613d-46f0-936d-1b06a6554194 from image adt/ubuntu-plucky-arm64-server-20250221.img (UUID 7cc4cd7e-6f5b-4658-9b17-e38e7fa05fb0)... 1655s nova [W] Timed out waiting for f16d3a8c-4a33-46f4-9e75-7cc674e5f485 to get deleted. 1655s nova [W] Using flock in prodstack6-arm64 1655s Creating nova instance adt-plucky-arm64-glib2.0-20250221-212935-juju-7f2275-prod-proposed-migration-environment-15-5a2006a0-613d-46f0-936d-1b06a6554194 from image adt/ubuntu-plucky-arm64-server-20250221.img (UUID 7cc4cd7e-6f5b-4658-9b17-e38e7fa05fb0)... 1655s nova [W] Timed out waiting for 8bf4942c-bc0f-416d-a46e-bd3a3a16133a to get deleted. 1655s nova [W] Using flock in prodstack6-arm64 1655s Creating nova instance adt-plucky-arm64-glib2.0-20250221-212935-juju-7f2275-prod-proposed-migration-environment-15-5a2006a0-613d-46f0-936d-1b06a6554194 from image adt/ubuntu-plucky-arm64-server-20250221.img (UUID 7cc4cd7e-6f5b-4658-9b17-e38e7fa05fb0)... 1655s nova [W] Timed out waiting for b0b6b38f-4173-476d-865e-296675b1951a to get deleted. 1655s nova [W] Using flock in prodstack6-arm64 1655s Creating nova instance adt-plucky-arm64-glib2.0-20250221-212935-juju-7f2275-prod-proposed-migration-environment-15-5a2006a0-613d-46f0-936d-1b06a6554194 from image adt/ubuntu-plucky-arm64-server-20250221.img (UUID 7cc4cd7e-6f5b-4658-9b17-e38e7fa05fb0)... 1655s nova [W] Timed out waiting for 509aed79-1ada-45d5-b92c-8e991c319253 to get deleted. 1655s nova [W] Using flock in prodstack6-arm64 1655s Creating nova instance adt-plucky-arm64-glib2.0-20250221-212935-juju-7f2275-prod-proposed-migration-environment-15-5a2006a0-613d-46f0-936d-1b06a6554194 from image adt/ubuntu-plucky-arm64-server-20250221.img (UUID 7cc4cd7e-6f5b-4658-9b17-e38e7fa05fb0)... 1655s nova [W] Timed out waiting for 9239baa0-c6bb-4121-8822-67f4c2d838d9 to get deleted.